From 5d2f40792e47a48fc56efafd30b68660a42184a7 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Fri, 6 Jul 2018 22:52:02 +0200 Subject: [PATCH] patch 8.1.0156: MS-Windows compiler warning Problem: MS-Windows compiler warning. Solution: Add a type cast. (Mike Williams) --- src/version.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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, /**/ -- 2.50.1