jkunstle / rpms / vim

Forked from rpms/vim 3 years ago
Clone
3ef2ca
To: vim_dev@googlegroups.com
3ef2ca
Subject: Patch 7.4.291
3ef2ca
Fcc: outbox
3ef2ca
From: Bram Moolenaar <Bram@moolenaar.net>
3ef2ca
Mime-Version: 1.0
3ef2ca
Content-Type: text/plain; charset=UTF-8
3ef2ca
Content-Transfer-Encoding: 8bit
3ef2ca
------------
3ef2ca
3ef2ca
Patch 7.4.291
3ef2ca
Problem:    Compiler warning for int to pointer of different size when DEBUG
3ef2ca
	    is defined.
3ef2ca
Solution:   use smsg() instead of EMSG3().
3ef2ca
Files:	    src/regexp.c
3ef2ca
3ef2ca
3ef2ca
*** ../vim-7.4.290/src/regexp.c	2014-04-23 19:06:33.702828771 +0200
3ef2ca
--- src/regexp.c	2014-05-13 16:39:28.833693111 +0200
3ef2ca
***************
3ef2ca
*** 8022,8029 ****
3ef2ca
  	    regexp_engine = expr[4] - '0';
3ef2ca
  	    expr += 5;
3ef2ca
  #ifdef DEBUG
3ef2ca
! 	    EMSG3("New regexp mode selected (%d): %s", regexp_engine,
3ef2ca
! 						    regname[newengine]);
3ef2ca
  #endif
3ef2ca
  	}
3ef2ca
  	else
3ef2ca
--- 8022,8029 ----
3ef2ca
  	    regexp_engine = expr[4] - '0';
3ef2ca
  	    expr += 5;
3ef2ca
  #ifdef DEBUG
3ef2ca
! 	    smsg((char_u *)"New regexp mode selected (%d): %s",
3ef2ca
! 					   regexp_engine, regname[newengine]);
3ef2ca
  #endif
3ef2ca
  	}
3ef2ca
  	else
3ef2ca
*** ../vim-7.4.290/src/version.c	2014-05-13 16:44:25.637695709 +0200
3ef2ca
--- src/version.c	2014-05-13 16:45:34.901696316 +0200
3ef2ca
***************
3ef2ca
*** 736,737 ****
3ef2ca
--- 736,739 ----
3ef2ca
  {   /* Add new patch number below this line */
3ef2ca
+ /**/
3ef2ca
+     291,
3ef2ca
  /**/
3ef2ca
3ef2ca
-- 
3ef2ca
hundred-and-one symptoms of being an internet addict:
3ef2ca
153. You find yourself staring at your "inbox" waiting for new e-mail
3ef2ca
     to arrive.
3ef2ca
3ef2ca
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
3ef2ca
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
3ef2ca
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
3ef2ca
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///