From: Bram Moolenaar Date: Fri, 6 Jul 2018 20:52:02 +0000 (+0200) Subject: patch 8.1.0156: MS-Windows compiler warning X-Git-Tag: v8.1.0156 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5d2f40792e47a48fc56efafd30b68660a42184a7;p=vim patch 8.1.0156: MS-Windows compiler warning Problem: MS-Windows compiler warning. Solution: Add a type cast. (Mike Williams) --- diff --git a/src/version.c b/src/version.c index 2be3ae1c0..63a7694d5 100644 --- a/src/version.c +++ b/src/version.c @@ -61,7 +61,7 @@ init_longVersion(void) + strlen(VIM_VERSION_DATE_ONLY) + strlen(date_time); - longVersion = (char *)alloc(len); + longVersion = (char *)alloc((unsigned)len); if (longVersion == NULL) longVersion = VIM_VERSION_LONG; else @@ -789,6 +789,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 156, /**/ 155, /**/