Skip to content

Commit f7e894d

Browse files
committed
patch 8.0.0424: compiler warnings on MS-Windows
Problem: Compiler warnings on MS-Windows. (Ajit Thakkar) Solution: Add type casts.
1 parent 6b64394 commit f7e894d

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/os_win32.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1918,11 +1918,11 @@ executable_exists(char *name, char_u **path, int use_path)
19181918

19191919
if (!use_path)
19201920
{
1921-
if (mch_getperm(name) != -1 && !mch_isdir(name))
1921+
if (mch_getperm((char_u *)name) != -1 && !mch_isdir((char_u *)name))
19221922
{
19231923
if (path != NULL)
19241924
{
1925-
if (mch_isFullName(name))
1925+
if (mch_isFullName((char_u *)name))
19261926
*path = vim_strsave((char_u *)name);
19271927
else
19281928
*path = FullName_save((char_u *)name, FALSE);

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -764,6 +764,8 @@ static char *(features[]) =
764764

765765
static int included_patches[] =
766766
{ /* Add new patch number below this line */
767+
/**/
768+
424,
767769
/**/
768770
423,
769771
/**/

0 commit comments

Comments
 (0)