Skip to content

Commit

Permalink
patch 8.0.0424: compiler warnings on MS-Windows
Browse files Browse the repository at this point in the history
Problem:    Compiler warnings on MS-Windows. (Ajit Thakkar)
Solution:   Add type casts.
  • Loading branch information
brammool committed Mar 5, 2017
1 parent 6b64394 commit f7e894d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/os_win32.c
Expand Up @@ -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);
Expand Down
2 changes: 2 additions & 0 deletions src/version.c
Expand Up @@ -764,6 +764,8 @@ static char *(features[]) =

static int included_patches[] =
{ /* Add new patch number below this line */
/**/
424,
/**/
423,
/**/
Expand Down

0 comments on commit f7e894d

Please sign in to comment.