Permalink
Browse files

patch 8.1.0156: MS-Windows compiler warning

Problem:    MS-Windows compiler warning.
Solution:   Add a type cast. (Mike Williams)
  • Loading branch information...
brammool committed Jul 6, 2018
1 parent ae728ed commit 5d2f40792e47a48fc56efafd30b68660a42184a7
Showing with 3 additions and 1 deletion.
  1. +3 −1 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,
/**/

0 comments on commit 5d2f407

Please sign in to comment.