From: Bram Moolenaar Date: Sun, 5 Mar 2017 18:49:13 +0000 (+0100) Subject: patch 8.0.0424: compiler warnings on MS-Windows X-Git-Tag: v8.0.0424 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f7e894dfb60b6fd8f426aa3da1452803f8de010c;p=vim patch 8.0.0424: compiler warnings on MS-Windows Problem: Compiler warnings on MS-Windows. (Ajit Thakkar) Solution: Add type casts. --- diff --git a/src/os_win32.c b/src/os_win32.c index 7081e037d..ed15920f1 100644 --- a/src/os_win32.c +++ b/src/os_win32.c @@ -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); diff --git a/src/version.c b/src/version.c index c956389ce..b9d3d1e89 100644 --- a/src/version.c +++ b/src/version.c @@ -764,6 +764,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 424, /**/ 423, /**/