1
0
forked from aniani/vim

updated for version 7.4.431

Problem:    Compiler warning.
Solution:   Add type cast. (Mike Williams)
This commit is contained in:
Bram Moolenaar 2014-09-09 12:22:06 +02:00
parent 5d5fbe7a2b
commit 120f4a878f
2 changed files with 3 additions and 1 deletions

View File

@ -2155,7 +2155,7 @@ do_one_cmd(cmdlinep, sourcing,
p = ea.cmd;
while (ASCII_ISALNUM(*p))
++p;
p = vim_strnsave(ea.cmd, p - ea.cmd);
p = vim_strnsave(ea.cmd, (int)(p - ea.cmd));
ret = apply_autocmds(EVENT_CMDUNDEFINED, p, p, TRUE, NULL);
vim_free(p);
if (ret && !aborting())

View File

@ -741,6 +741,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
431,
/**/
430,
/**/