summaryrefslogtreecommitdiff
path: root/src/normal.c
diff options
context:
space:
mode:
author=?UTF-8?q?Dundar=20G=C3=B6c?= <gocdundar@gmail.com>2022-01-28 15:28:04 +0000
committerBram Moolenaar <Bram@vim.org>2022-01-28 15:28:04 +0000
commit420fabcd4ffeaf79082a6e43db91e1d363f88f27 (patch)
tree89938a5800078e96cdf992aca87e1c79a2f255ac /src/normal.c
parentfb80862e49fcbcf47907fc8cdaaf5c41cb9eb06e (diff)
downloadvim-git-420fabcd4ffeaf79082a6e43db91e1d363f88f27.tar.gz
patch 8.2.4241: some type casts are redundantv8.2.4241
Problem: Some type casts are redundant. Solution: Remove the type casts. (closes #9643)
Diffstat (limited to 'src/normal.c')
-rw-r--r--src/normal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/normal.c b/src/normal.c
index 21840369f..2d5f8a5f7 100644
--- a/src/normal.c
+++ b/src/normal.c
@@ -5211,7 +5211,7 @@ nv_replace(cmdarg_T *cap)
colnr_T start = (colnr_T)(curwin->w_cursor.col - cap->count1);
netbeans_removed(curbuf, curwin->w_cursor.lnum, start,
- (long)cap->count1);
+ cap->count1);
netbeans_inserted(curbuf, curwin->w_cursor.lnum, start,
&ptr[start], (int)cap->count1);
}