From: Bram Moolenaar Date: Sun, 27 Aug 2017 11:10:10 +0000 (+0200) Subject: patch 8.0.1003: 64 bit compiler warning X-Git-Tag: v8.0.1003 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e85928a324ab78912ea0f0ceb2dcd9fd686dc3b0;p=vim patch 8.0.1003: 64 bit compiler warning Problem: 64 bit compiler warning Solution: Add type cast. (Mike Williams) --- diff --git a/src/channel.c b/src/channel.c index 886522bff..508fb0c0f 100644 --- 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)) { diff --git a/src/version.c b/src/version.c index d79f429bb..16d310df5 100644 --- a/src/version.c +++ b/src/version.c @@ -769,6 +769,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 1003, /**/ 1002, /**/