changeset 14840:9c94cfe5dd31 v8.1.0432

patch 8.1.0432: compiler warning for signed/unsigned commit https://github.com/vim/vim/commit/45c5c86e636edef8ed08d47bf8724efc05108030 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Sep 25 18:59:21 2018 +0200 patch 8.1.0432: compiler warning for signed/unsigned Problem: Compiler warning for signed/unsigned. Solution: Add type cast. (Mike Williams)
author Christian Brabandt <cb@256bit.org>
date Tue, 25 Sep 2018 19:00:06 +0200
parents 5fabc1a929e4
children b58eb884380f
files src/version.c src/xdiff/xemit.c
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/version.c
+++ b/src/version.c
@@ -795,6 +795,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    432,
+/**/
     431,
 /**/
     430,
--- a/src/xdiff/xemit.c
+++ b/src/xdiff/xemit.c
@@ -31,7 +31,7 @@ static long xdl_get_rec(xdfile_t *xdf, l
 
 
 static int xdl_emit_record(xdfile_t *xdf, long ri, char const *pre, xdemitcb_t *ecb) {
-	long size, psize = strlen(pre);
+	long size, psize = (long)strlen(pre);
 	char const *rec;
 
 	size = xdl_get_rec(xdf, ri, &rec);