]> granicus.if.org Git - vim/commitdiff
updated for version 7.4.126 v7.4.126
authorBram Moolenaar <Bram@vim.org>
Thu, 12 Dec 2013 19:25:44 +0000 (20:25 +0100)
committerBram Moolenaar <Bram@vim.org>
Thu, 12 Dec 2013 19:25:44 +0000 (20:25 +0100)
Problem:    Compiler warnings for "const" and incompatible types.
Solution:   Remove "const", add type cast. (Ken Takata)

src/os_win32.c
src/version.c

index 182c88c6ed062a6157215f10dff4bdf6ecb355cf..04e81ceb15a6e0d6d889ff76bad40c72d4b5bf6b 100644 (file)
@@ -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;
index d4cc3d73dcc0df2a520ef7ca3ad7e5f2f3257221..27771952804eb8184df2b4e0cf16ab161db287a0 100644 (file)
@@ -738,6 +738,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    126,
 /**/
     125,
 /**/