changeset 6191:5672a06e4bd8 v7.4.431

updated for version 7.4.431 Problem: Compiler warning. Solution: Add type cast. (Mike Williams)
author Bram Moolenaar <bram@vim.org>
date Tue, 09 Sep 2014 12:22:06 +0200
parents dde8ff798ed9
children aaa91f821638
files src/ex_docmd.c src/version.c
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/ex_docmd.c
+++ b/src/ex_docmd.c
@@ -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())
--- a/src/version.c
+++ b/src/version.c
@@ -742,6 +742,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    431,
+/**/
     430,
 /**/
     429,