]> granicus.if.org Git - vim/commitdiff
updated for version 7.2.425 v7.2.425
authorBram Moolenaar <Bram@vim.org>
Fri, 14 May 2010 13:42:53 +0000 (15:42 +0200)
committerBram Moolenaar <Bram@vim.org>
Fri, 14 May 2010 13:42:53 +0000 (15:42 +0200)
Problem:    Some compilers complain about fourth EX() argument.
Solution:   Add cast to long_u.

src/ex_cmds.h
src/version.c

index 6720cdfc13da748546ecefcfd2835ee7ce501d08..a5a9e1203a53d4f7f9a3201473d9589871382998 100644 (file)
@@ -74,7 +74,7 @@ typedef struct exarg exarg_T;
 # undef EX         /* just in case */
 #endif
 #ifdef DO_DECLARE_EXCMD
-# define EX(a, b, c, d)  {(char_u *)b, c, d}
+# define EX(a, b, c, d)  {(char_u *)b, c, (long_u)(d)}
 
 typedef void (*ex_func_T) __ARGS((exarg_T *eap));
 
index e02b9006899fb01e323e32de038c6599a8540ec9..5cda9f9e1ecc2ed37127c8c91ce95ceb108b37c2 100644 (file)
@@ -681,6 +681,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    425,
 /**/
     424,
 /**/