diff options
author | Bram Moolenaar <bram@zimbu.org> | 2010-05-14 15:42:53 +0200 |
---|---|---|
committer | Bram Moolenaar <bram@zimbu.org> | 2010-05-14 15:42:53 +0200 |
commit | a41546ea830fb95a497420ab28e0b22870b37657 (patch) | |
tree | aa7b46de34577a9a8f540e25be4a0cd8bbc5e6e4 | |
parent | 0941bab3bb3d7c6a828426010a8d9fea388addc0 (diff) | |
download | vim-a41546ea830fb95a497420ab28e0b22870b37657.tar.gz |
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 6720cdfc..a5a9e120 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 e02b9006..5cda9f9e 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, |