4 From: Bram Moolenaar <Bram@moolenaar.net>
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
11 Problem: Some compilers complain about fourth EX() argument.
12 Solution: Add cast to long_u.
16 *** ../vim-7.2.424/src/ex_cmds.h 2010-05-14 15:28:37.000000000 +0200
17 --- src/ex_cmds.h 2010-05-14 13:08:45.000000000 +0200
20 # undef EX /* just in case */
22 #ifdef DO_DECLARE_EXCMD
23 ! # define EX(a, b, c, d) {(char_u *)b, c, d}
25 typedef void (*ex_func_T) __ARGS((exarg_T *eap));
28 # undef EX /* just in case */
30 #ifdef DO_DECLARE_EXCMD
31 ! # define EX(a, b, c, d) {(char_u *)b, c, (long_u)(d)}
33 typedef void (*ex_func_T) __ARGS((exarg_T *eap));
35 *** ../vim-7.2.424/src/version.c 2010-05-14 15:28:37.000000000 +0200
36 --- src/version.c 2010-05-14 15:42:23.000000000 +0200
40 { /* Add new patch number below this line */
46 The users that I support would double-click on a landmine to find out
47 what happens. -- A system administrator
49 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
50 /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
51 \\\ download, build and distribute -- http://www.A-A-P.org ///
52 \\\ help me help AIDS victims -- http://ICCF-Holland.org ///