updated for version 7.4.126
Problem: Compiler warnings for "const" and incompatible types.
Solution: Remove "const", add type cast. (Ken Takata)
diff --git a/src/os_win32.c b/src/os_win32.c
index 182c88c..04e81ce 100644
--- a/src/os_win32.c
+++ b/src/os_win32.c
@@ -3830,7 +3830,7 @@
static BOOL
vim_create_process(
- const char *cmd,
+ char *cmd,
DWORD flags,
BOOL inherit_handles,
STARTUPINFO *si,
@@ -3853,7 +3853,7 @@
flags, /* Creation flags */
NULL, /* Environment */
NULL, /* Current directory */
- si, /* Startup information */
+ (LPSTARTUPINFOW)si, /* Startup information */
pi); /* Process information */
vim_free(wcmd);
return ret;