]> granicus.if.org Git - vim/commitdiff
patch 8.0.1003: 64 bit compiler warning v8.0.1003
authorBram Moolenaar <Bram@vim.org>
Sun, 27 Aug 2017 11:10:10 +0000 (13:10 +0200)
committerBram Moolenaar <Bram@vim.org>
Sun, 27 Aug 2017 11:10:10 +0000 (13:10 +0200)
Problem:    64 bit compiler warning
Solution:   Add type cast. (Mike Williams)

src/channel.c
src/version.c

index 886522bffc6e5e8a34424cfdb64c426795ce09db..508fb0c0f32bf8993ec198cb4650b21fe977e384 100644 (file)
@@ -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))
     {
index d79f429bb54170a4d07ec2c892c0432b92b7881f..16d310df579878a440376af94b3107e4219d7018 100644 (file)
@@ -769,6 +769,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1003,
 /**/
     1002,
 /**/