changeset 14280:bdab22732907 v8.1.0156

patch 8.1.0156: MS-Windows compiler warning commit https://github.com/vim/vim/commit/5d2f40792e47a48fc56efafd30b68660a42184a7 Author: Bram Moolenaar <Bram@vim.org> Date: Fri Jul 6 22:52:02 2018 +0200 patch 8.1.0156: MS-Windows compiler warning Problem: MS-Windows compiler warning. Solution: Add a type cast. (Mike Williams)
author Christian Brabandt <cb@256bit.org>
date Fri, 06 Jul 2018 23:00:06 +0200
parents 304b113a655f
children d0b15c8ccb59
files src/version.c
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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
@@ -790,6 +790,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    156,
+/**/
     155,
 /**/
     154,