Patch 7.2.425

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Patch 7.2.425

Bram Moolenaar

Patch 7.2.425
Problem:    Some compilers complain about fourth EX() argument.
Solution:   Add cast to long_u.
Files:    src/ex_cmds.h


*** ../vim-7.2.424/src/ex_cmds.h 2010-05-14 15:28:37.000000000 +0200
--- src/ex_cmds.h 2010-05-14 13:08:45.000000000 +0200
***************
*** 74,80 ****
  # undef EX    /* just in case */
  #endif
  #ifdef DO_DECLARE_EXCMD
! # define EX(a, b, c, d)  {(char_u *)b, c, d}
 
  typedef void (*ex_func_T) __ARGS((exarg_T *eap));
 
--- 74,80 ----
  # undef EX    /* just in case */
  #endif
  #ifdef DO_DECLARE_EXCMD
! # define EX(a, b, c, d)  {(char_u *)b, c, (long_u)(d)}
 
  typedef void (*ex_func_T) __ARGS((exarg_T *eap));
 
*** ../vim-7.2.424/src/version.c 2010-05-14 15:28:37.000000000 +0200
--- src/version.c 2010-05-14 15:42:23.000000000 +0200
***************
*** 683,684 ****
--- 683,686 ----
  {   /* Add new patch number below this line */
+ /**/
+     425,
  /**/

--
The users that I support would double-click on a landmine to find out
what happens. -- A system administrator

 /// Bram Moolenaar -- [hidden email] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\        download, build and distribute -- http://www.A-A-P.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php