]> granicus.if.org Git - vim/commitdiff
patch 8.0.0424: compiler warnings on MS-Windows v8.0.0424
authorBram Moolenaar <Bram@vim.org>
Sun, 5 Mar 2017 18:49:13 +0000 (19:49 +0100)
committerBram Moolenaar <Bram@vim.org>
Sun, 5 Mar 2017 18:49:13 +0000 (19:49 +0100)
Problem:    Compiler warnings on MS-Windows. (Ajit Thakkar)
Solution:   Add type casts.

src/os_win32.c
src/version.c

index 7081e037d2866eca2fcab413e661381f499d5f80..ed15920f1dc1aadf69e3809b5ef6c7bb2ea58783 100644 (file)
@@ -1918,11 +1918,11 @@ executable_exists(char *name, char_u **path, int use_path)
 
     if (!use_path)
     {
-       if (mch_getperm(name) != -1 && !mch_isdir(name))
+       if (mch_getperm((char_u *)name) != -1 && !mch_isdir((char_u *)name))
        {
            if (path != NULL)
            {
-               if (mch_isFullName(name))
+               if (mch_isFullName((char_u *)name))
                    *path = vim_strsave((char_u *)name);
                else
                    *path = FullName_save((char_u *)name, FALSE);
index c956389cef344e2e0cd5336de8a828ab940433bd..b9d3d1e8920372b0f1ad371488fef5c7a2810439 100644 (file)
@@ -764,6 +764,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    424,
 /**/
     423,
 /**/