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