]> granicus.if.org Git - vim/commitdiff
updated for version 7.4.431 v7.4.431
authorBram Moolenaar <Bram@vim.org>
Tue, 9 Sep 2014 10:22:06 +0000 (12:22 +0200)
committerBram Moolenaar <Bram@vim.org>
Tue, 9 Sep 2014 10:22:06 +0000 (12:22 +0200)
Problem:    Compiler warning.
Solution:   Add type cast. (Mike Williams)

src/ex_docmd.c
src/version.c

index c4cf1f9e1b1829142569c3aaca071e5c56d4ea56..e90dfe59356e842ce62ecc1ace9991f3fd401e64 100644 (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())
index b81d54781b53151f9dc2c432ac66fe0e3d3a45e1..838c1d6079c8c32cf74c0fa8c0b6547b03d327a8 100644 (file)
@@ -741,6 +741,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    431,
 /**/
     430,
 /**/