Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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 5d2f407
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/version.c
Expand Up @@ -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
Expand Down Expand Up @@ -789,6 +789,8 @@ static char *(features[]) =

static int included_patches[] =
{ /* Add new patch number below this line */
/**/
156,
/**/
155,
/**/
Expand Down

0 comments on commit 5d2f407

Please sign in to comment.