Mercurial > vim
changeset 3298:22a626604672 v7.3.416
updated for version 7.3.416
Problem: Compiler warning for wrong pointer.
Solution: Add type cast.
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Thu, 26 Jan 2012 18:52:06 +0100 |
parents | 30dde622407d |
children | 636b2d25ae0e |
files | src/eval.c src/version.c |
diffstat | 2 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/eval.c +++ b/src/eval.c @@ -21802,7 +21802,7 @@ get_user_func_name(xp, idx) fp = HI2UF(hi); if (fp->uf_flags & FC_DICT) - return ""; /* don't show dict functions */ + return (char_u *)""; /* don't show dict functions */ if (STRLEN(fp->uf_name) + 4 >= IOSIZE) return fp->uf_name; /* prevents overflow */