0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

updated for version 7.3.564

Problem:    Warning for pointer conversion.
Solution:   Add type cast.
This commit is contained in:
Bram Moolenaar
2012-06-20 17:56:09 +02:00
parent 50a12b4078
commit d12f811816
2 changed files with 4 additions and 1 deletions

View File

@@ -4537,7 +4537,8 @@ home_replace(buf, src, dst, dstlen, one)
char_u *fbuf = NULL;
flen = (int)STRLEN(homedir_env);
(void)modify_fname(":p", &usedlen, &homedir_env, &fbuf, &flen);
(void)modify_fname((char_u *)":p", &usedlen,
&homedir_env, &fbuf, &flen);
flen = (int)STRLEN(homedir_env);
if (flen > 0 && vim_ispathsep(homedir_env[flen - 1]))
/* Remove the trailing / that is added to a directory. */

View File

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