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 7081e03..ed15920 100644
--- a/src/os_win32.c
+++ b/src/os_win32.c
@@ -1918,11 +1918,11 @@
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 c956389..b9d3d1e 100644
--- a/src/version.c
+++ b/src/version.c
@@ -765,6 +765,8 @@
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 424,
+/**/
423,
/**/
422,