diff options
Diffstat (limited to 'src/userfunc.c')
-rw-r--r-- | src/userfunc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/userfunc.c b/src/userfunc.c index 993697e46..86dea795c 100644 --- a/src/userfunc.c +++ b/src/userfunc.c @@ -1586,13 +1586,13 @@ delete_script_functions(int sid) hashitem_T *hi; ufunc_T *fp; long_u todo; - char buf[30]; + char_u buf[30]; size_t len; buf[0] = K_SPECIAL; buf[1] = KS_EXTRA; buf[2] = (int)KE_SNR; - sprintf(buf + 3, "%d_", sid); + sprintf((char *)buf + 3, "%d_", sid); len = STRLEN(buf); todo = func_hashtab.ht_used; |