diff options
author | Bram Moolenaar <Bram@vim.org> | 2017-03-05 19:49:13 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2017-03-05 19:49:13 +0100 |
commit | f7e894dfb60b6fd8f426aa3da1452803f8de010c (patch) | |
tree | 115c0a251139f763d4363a148bd96a3bf079bf33 | |
parent | 6b64394f346594404cffb9591d71ac693040679f (diff) | |
download | vim-git-f7e894dfb60b6fd8f426aa3da1452803f8de010c.tar.gz |
patch 8.0.0424: compiler warnings on MS-Windowsv8.0.0424
Problem: Compiler warnings on MS-Windows. (Ajit Thakkar)
Solution: Add type casts.
-rw-r--r-- | src/os_win32.c | 4 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 4 insertions, 2 deletions
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 @@ -765,6 +765,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 424, +/**/ 423, /**/ 422, |