summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2018-07-06 22:52:02 +0200
committerBram Moolenaar <Bram@vim.org>2018-07-06 22:52:02 +0200
commit5d2f40792e47a48fc56efafd30b68660a42184a7 (patch)
treea48b259efd011a67eabe4fd61203d08f9722af05
parentae728edc93fe5a2f8c39fa75b1ae9ed71526858c (diff)
patch 8.1.0156: MS-Windows compiler warningv8.1.0156
Problem: MS-Windows compiler warning. Solution: Add a type cast. (Mike Williams)
-rw-r--r--src/version.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/version.c b/src/version.c
index 2be3ae1c0e..63a7694d5f 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
@@ -790,6 +790,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 156,
+/**/
155,
/**/
154,