From 200ea8ffaa90e1ccc156b24ee097be87acdd5214 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Tue, 2 Jan 2018 15:37:46 +0100 Subject: [PATCH] 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) --- src/ex_getln.c | 2 +- src/version.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/ex_getln.c b/src/ex_getln.c index 2a2b08ba2e27c9..421c6b7d58f06b 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 15aec195fbfee7..2bfb86c24e5fc5 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, /**/