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