changeset 7066:094c8ccdc279 v7.4.845

commit https://github.com/vim/vim/commit/5df1ed2de3fa9dcace996b9a0a4c9b3cea79cf1e Author: Bram Moolenaar <Bram@vim.org> Date: Tue Sep 1 16:25:34 2015 +0200 patch 7.4.845 Problem: Compiler warning for possible loss of data. Solution: Add a type cast. (Erich Ritz)
author Christian Brabandt <cb@256bit.org>
date Tue, 01 Sep 2015 16:30:03 +0200
parents 95f9418597e0
children 61f1358f6355
files src/misc1.c src/version.c
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/misc1.c
+++ b/src/misc1.c
@@ -3985,7 +3985,7 @@ expand_env_esc(srcp, dst, dstlen, esc, o
 		len = dstlen;
 	    vim_strncpy(dst, var, len);
 	    dst += len;
-	    dstlen -= len;
+	    dstlen -= (int)len;
 	    continue;
 	}
 #endif
--- 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 */
 /**/
+    845,
+/**/
     844,
 /**/
     843,