]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
updated for version 7.3.564 v7.3.564
authorBram Moolenaar <Bram@vim.org>
Wed, 20 Jun 2012 15:56:09 +0000 (17:56 +0200)
committerBram Moolenaar <Bram@vim.org>
Wed, 20 Jun 2012 15:56:09 +0000 (17:56 +0200)
Problem:    Warning for pointer conversion.
Solution:   Add type cast.

src/misc1.c
src/version.c

index 80e7fa693db0390dc88ae431b263265c124bc0fe..a84b3c3d8a07361591c3a58dc443efb56ad4d72c 100644 (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. */
index 38818ee7dab197c962ada20448bf235f3a3d00de..20a02699deb7ee1a9142b7fcab257b0b435f359a 100644 (file)
@@ -714,6 +714,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    564,
 /**/
     563,
 /**/