Karsten Hopp 5399a4
To: vim-dev@vim.org
Karsten Hopp 5399a4
Subject: Patch 7.2.425
Karsten Hopp 5399a4
Fcc: outbox
Karsten Hopp 5399a4
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp 5399a4
Mime-Version: 1.0
Karsten Hopp 5399a4
Content-Type: text/plain; charset=UTF-8
Karsten Hopp 5399a4
Content-Transfer-Encoding: 8bit
Karsten Hopp 5399a4
------------
Karsten Hopp 5399a4
Karsten Hopp 5399a4
Patch 7.2.425
Karsten Hopp 5399a4
Problem:    Some compilers complain about fourth EX() argument.
Karsten Hopp 5399a4
Solution:   Add cast to long_u.
Karsten Hopp 5399a4
Files:	    src/ex_cmds.h
Karsten Hopp 5399a4
Karsten Hopp 5399a4
Karsten Hopp 5399a4
*** ../vim-7.2.424/src/ex_cmds.h	2010-05-14 15:28:37.000000000 +0200
Karsten Hopp 5399a4
--- src/ex_cmds.h	2010-05-14 13:08:45.000000000 +0200
Karsten Hopp 5399a4
***************
Karsten Hopp 5399a4
*** 74,80 ****
Karsten Hopp 5399a4
  # undef EX	    /* just in case */
Karsten Hopp 5399a4
  #endif
Karsten Hopp 5399a4
  #ifdef DO_DECLARE_EXCMD
Karsten Hopp 5399a4
! # define EX(a, b, c, d)  {(char_u *)b, c, d}
Karsten Hopp 5399a4
  
Karsten Hopp 5399a4
  typedef void (*ex_func_T) __ARGS((exarg_T *eap));
Karsten Hopp 5399a4
  
Karsten Hopp 5399a4
--- 74,80 ----
Karsten Hopp 5399a4
  # undef EX	    /* just in case */
Karsten Hopp 5399a4
  #endif
Karsten Hopp 5399a4
  #ifdef DO_DECLARE_EXCMD
Karsten Hopp 5399a4
! # define EX(a, b, c, d)  {(char_u *)b, c, (long_u)(d)}
Karsten Hopp 5399a4
  
Karsten Hopp 5399a4
  typedef void (*ex_func_T) __ARGS((exarg_T *eap));
Karsten Hopp 5399a4
  
Karsten Hopp 5399a4
*** ../vim-7.2.424/src/version.c	2010-05-14 15:28:37.000000000 +0200
Karsten Hopp 5399a4
--- src/version.c	2010-05-14 15:42:23.000000000 +0200
Karsten Hopp 5399a4
***************
Karsten Hopp 5399a4
*** 683,684 ****
Karsten Hopp 5399a4
--- 683,686 ----
Karsten Hopp 5399a4
  {   /* Add new patch number below this line */
Karsten Hopp 5399a4
+ /**/
Karsten Hopp 5399a4
+     425,
Karsten Hopp 5399a4
  /**/
Karsten Hopp 5399a4
Karsten Hopp 5399a4
-- 
Karsten Hopp 5399a4
The users that I support would double-click on a landmine to find out
Karsten Hopp 5399a4
what happens.				-- A system administrator
Karsten Hopp 5399a4
Karsten Hopp 5399a4
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp 5399a4
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp 5399a4
\\\        download, build and distribute -- http://www.A-A-P.org        ///
Karsten Hopp 5399a4
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///