changeset 12246:337690672bda v8.0.1003

patch 8.0.1003: 64 bit compiler warning commit https://github.com/vim/vim/commit/e85928a324ab78912ea0f0ceb2dcd9fd686dc3b0 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Aug 27 13:10:10 2017 +0200 patch 8.0.1003: 64 bit compiler warning Problem: 64 bit compiler warning Solution: Add type cast. (Mike Williams)
author Christian Brabandt <cb@256bit.org>
date Sun, 27 Aug 2017 13:15:05 +0200
parents 1ebf27505a95
children e7de239b1e9f
files src/channel.c src/version.c
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/channel.c
+++ b/src/channel.c
@@ -4890,7 +4890,7 @@ win32_escape_arg(char_u *arg)
     int		has_spaces = FALSE;
 
     /* First count the number of extra bytes required. */
-    slen = STRLEN(arg);
+    slen = (int)STRLEN(arg);
     dlen = slen;
     for (s = arg; *s != NUL; MB_PTR_ADV(s))
     {
--- a/src/version.c
+++ b/src/version.c
@@ -770,6 +770,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    1003,
+/**/
     1002,
 /**/
     1001,