From: Bram Moolenaar Date: Tue, 2 Jan 2018 14:37:46 +0000 (+0100) Subject: patch 8.0.1428: compiler warning on 64 bit MS-Windows system X-Git-Tag: v8.0.1428 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=200ea8ffaa90e1ccc156b24ee097be87acdd5214;p=vim patch 8.0.1428: compiler warning on 64 bit MS-Windows system Problem: Compiler warning on 64 bit MS-Windows system. Solution: Change type from "int" to "size_t". (Mike Williams) --- diff --git a/src/ex_getln.c b/src/ex_getln.c index 2a2b08ba2..421c6b7d5 100644 --- a/src/ex_getln.c +++ b/src/ex_getln.c @@ -180,7 +180,7 @@ abandon_cmdline(void) static int empty_pattern(char_u *p) { - int n = STRLEN(p); + size_t n = STRLEN(p); /* remove trailing \v and the like */ while (n >= 2 && p[n - 2] == '\\' diff --git a/src/version.c b/src/version.c index 15aec195f..2bfb86c24 100644 --- a/src/version.c +++ b/src/version.c @@ -771,6 +771,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 1428, /**/ 1427, /**/