Skip to content

Commit 5d2f407

Browse files
committed
patch 8.1.0156: MS-Windows compiler warning
Problem: MS-Windows compiler warning. Solution: Add a type cast. (Mike Williams)
1 parent ae728ed commit 5d2f407

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

‎src/version.c‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ init_longVersion(void)
6161
+ strlen(VIM_VERSION_DATE_ONLY)
6262
+ strlen(date_time);
6363

64-
longVersion = (char *)alloc(len);
64+
longVersion = (char *)alloc((unsigned)len);
6565
if (longVersion == NULL)
6666
longVersion = VIM_VERSION_LONG;
6767
else
@@ -789,6 +789,8 @@ static char *(features[]) =
789789

790790
static int included_patches[] =
791791
{ /* Add new patch number below this line */
792+
/**/
793+
156,
792794
/**/
793795
155,
794796
/**/

0 commit comments

Comments
 (0)