1
0
forked from aniani/vim

updated for version 7.3.416

Problem:    Compiler warning for wrong pointer.
Solution:   Add type cast.
This commit is contained in:
Bram Moolenaar
2012-01-26 18:52:06 +01:00
parent f44cfb88f6
commit 975261e8a0
2 changed files with 3 additions and 1 deletions

View File

@@ -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 */

View File

@@ -714,6 +714,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
416,
/**/
415,
/**/