0
0
mirror of https://github.com/vim/vim.git synced 2025-09-27 04:14:06 -04:00

patch 8.1.0156: MS-Windows compiler warning

Problem:    MS-Windows compiler warning.
Solution:   Add a type cast. (Mike Williams)
This commit is contained in:
Bram Moolenaar
2018-07-06 22:52:02 +02:00
parent ae728edc93
commit 5d2f40792e

View File

@@ -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,
/**/