]> granicus.if.org Git - vim/commitdiff
updated for version 7.3.842 v7.3.842
authorBram Moolenaar <Bram@vim.org>
Tue, 26 Feb 2013 20:43:32 +0000 (21:43 +0100)
committerBram Moolenaar <Bram@vim.org>
Tue, 26 Feb 2013 20:43:32 +0000 (21:43 +0100)
Problem:    Compiler warning for signed/unsigned pointer.
Solution:   Add type cast. (Christian Brabandt)

src/eval.c
src/version.c

index d5a41fbcea26be5a574709657e8c7d973bd576d9..ad200598be3e611c67ef733d8c2b5b63671f7071 100644 (file)
@@ -5170,7 +5170,7 @@ eval7(arg, rettv, evaluate, want_string)
                 * what follows. So set it here. */
                if (rettv->v_type == VAR_UNKNOWN && !evaluate && **arg == '(')
                {
-                   rettv->vval.v_string = vim_strsave("");
+                   rettv->vval.v_string = vim_strsave((char_u *)"");
                    rettv->v_type = VAR_FUNC;
                }
 
index 6098591c0cb34daed0432d3425cf4c72ff882542..f49cd4a0c40d823b05e9da2bf9153a3382533961 100644 (file)
@@ -728,6 +728,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    842,
 /**/
     841,
 /**/