Permalink
Browse files

patch 8.0.0424: compiler warnings on MS-Windows

Problem:    Compiler warnings on MS-Windows. (Ajit Thakkar)
Solution:   Add type casts.
  • Loading branch information...
brammool committed Mar 5, 2017
1 parent 6b64394 commit f7e894dfb60b6fd8f426aa3da1452803f8de010c
Showing with 4 additions and 2 deletions.
  1. +2 −2 src/os_win32.c
  2. +2 −0 src/version.c
View
@@ -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);
View
@@ -764,6 +764,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 424,
/**/
423,
/**/

0 comments on commit f7e894d

Please sign in to comment.