diff options
author | Bram Moolenaar <Bram@vim.org> | 2010-05-14 15:42:53 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2010-05-14 15:42:53 +0200 |
commit | 2321c9255e2330439e821d77fe828e5ce8c9d499 (patch) | |
tree | a3b1ce269060c273df1c0b6b1a01bb529c10ec48 | |
parent | e6850798483afb3a54adf26bdd25c625d70e98d8 (diff) |
updated for version 7.2.425v7.2.425
Problem: Some compilers complain about fourth EX() argument.
Solution: Add cast to long_u.
-rw-r--r-- | src/ex_cmds.h | 2 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/ex_cmds.h b/src/ex_cmds.h index 6720cdfc13..a5a9e1203a 100644 --- a/src/ex_cmds.h +++ b/src/ex_cmds.h @@ -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)); diff --git a/src/version.c b/src/version.c index e02b900689..5cda9f9e1e 100644 --- a/src/version.c +++ b/src/version.c @@ -682,6 +682,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 425, +/**/ 424, /**/ 423, |