summaryrefslogtreecommitdiff
path: root/src/ex_cmds.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2010-05-14 15:42:53 +0200
committerBram Moolenaar <Bram@vim.org>2010-05-14 15:42:53 +0200
commit2321c9255e2330439e821d77fe828e5ce8c9d499 (patch)
treea3b1ce269060c273df1c0b6b1a01bb529c10ec48 /src/ex_cmds.h
parente6850798483afb3a54adf26bdd25c625d70e98d8 (diff)
downloadvim-git-2321c9255e2330439e821d77fe828e5ce8c9d499.tar.gz
updated for version 7.2.425v7.2.425
Problem: Some compilers complain about fourth EX() argument. Solution: Add cast to long_u.
Diffstat (limited to 'src/ex_cmds.h')
-rw-r--r--src/ex_cmds.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ex_cmds.h b/src/ex_cmds.h
index 6720cdfc1..a5a9e1203 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));