vim-patch:7.4.291 #879

Problem:    Compiler warning for int to pointer of different size when DEBUG
            is defined.
Solution:   use smsg() instead of EMSG3().

https://code.google.com/p/vim/source/detail?r=b5972833add9de714f4651e26fd9ea63ec4a880c
This commit is contained in:
oni-link 2014-06-22 11:07:03 +02:00 committed by Justin M. Keyes
parent 94f488d1ca
commit 3e8314abaa
2 changed files with 4 additions and 3 deletions

View File

@ -6936,8 +6936,9 @@ regprog_T *vim_regcomp(char_u *expr_arg, int re_flags)
regexp_engine = expr[4] - '0';
expr += 5;
#ifdef REGEXP_DEBUG
EMSG3("New regexp mode selected (%d): %s", regexp_engine,
regname[newengine]);
smsg((char_u *)"New regexp mode selected (%d): %s",
regexp_engine,
regname[newengine]);
#endif
} else {
EMSG(_(

View File

@ -227,7 +227,7 @@ static int included_patches[] = {
//294,
//293,
292,
//291,
291,
290,
289,
288,