diff options
author | Bram Moolenaar <bram@vim.org> | 2013-12-12 20:25:44 +0100 |
---|---|---|
committer | Bram Moolenaar <bram@vim.org> | 2013-12-12 20:25:44 +0100 |
commit | d6b62b846edc6816d16a8d416d7f5a0d53db8edb (patch) | |
tree | 09909abdd95bec27996d94219936086d28b8a065 | |
parent | cb339a0d5647b22446c98a87314e578d40629bb2 (diff) | |
download | vim-d6b62b846edc6816d16a8d416d7f5a0d53db8edb.tar.gz |
Problem: Compiler warnings for "const" and incompatible types.
Solution: Remove "const", add type cast. (Ken Takata)
-rw-r--r-- | src/os_win32.c | 4 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/src/os_win32.c b/src/os_win32.c index 182c88c6..04e81ceb 100644 --- a/src/os_win32.c +++ b/src/os_win32.c @@ -3830,7 +3830,7 @@ mch_set_winsize_now(void) static BOOL vim_create_process( - const char *cmd, + char *cmd, DWORD flags, BOOL inherit_handles, STARTUPINFO *si, @@ -3853,7 +3853,7 @@ vim_create_process( flags, /* Creation flags */ NULL, /* Environment */ NULL, /* Current directory */ - si, /* Startup information */ + (LPSTARTUPINFOW)si, /* Startup information */ pi); /* Process information */ vim_free(wcmd); return ret; diff --git a/src/version.c b/src/version.c index d4cc3d73..27771952 100644 --- a/src/version.c +++ b/src/version.c @@ -739,6 +739,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 126, +/**/ 125, /**/ 124, |