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:
@@ -61,7 +61,7 @@ init_longVersion(void)
|
|||||||
+ strlen(VIM_VERSION_DATE_ONLY)
|
+ strlen(VIM_VERSION_DATE_ONLY)
|
||||||
+ strlen(date_time);
|
+ strlen(date_time);
|
||||||
|
|
||||||
longVersion = (char *)alloc(len);
|
longVersion = (char *)alloc((unsigned)len);
|
||||||
if (longVersion == NULL)
|
if (longVersion == NULL)
|
||||||
longVersion = VIM_VERSION_LONG;
|
longVersion = VIM_VERSION_LONG;
|
||||||
else
|
else
|
||||||
@@ -789,6 +789,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
156,
|
||||||
/**/
|
/**/
|
||||||
155,
|
155,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user