diff options
Diffstat (limited to 'src/ex_getln.c')
-rw-r--r-- | src/ex_getln.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ex_getln.c b/src/ex_getln.c index b1f04d8d07..e7f8c1b1c7 100644 --- a/src/ex_getln.c +++ b/src/ex_getln.c @@ -4694,7 +4694,7 @@ call_user_expand_func(user_expand_func, xp, num_file, file) { /* Completion from Insert mode, pass fake arguments. */ keep = 0; - sprintf((char *)num, "%d", STRLEN(xp->xp_pattern)); + sprintf((char *)num, "%d", (int)STRLEN(xp->xp_pattern)); args[1] = xp->xp_pattern; } else |