diff options
Diffstat (limited to 'src/normal.c')
-rw-r--r-- | src/normal.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/normal.c b/src/normal.c index 17db06a16..f2527e144 100644 --- a/src/normal.c +++ b/src/normal.c @@ -5986,7 +5986,7 @@ nv_g_cmd(cmdarg_T *cap) oap->motion_type = MCHAR; oap->inclusive = FALSE; if (has_mbyte) - i = mb_string2cells(ptr, STRLEN(ptr)); + i = mb_string2cells(ptr, (int)STRLEN(ptr)); else i = (int)STRLEN(ptr); if (cap->count0 > 0 && cap->count0 <= 100) |