mirror of
https://github.com/vim/vim.git
synced 2025-07-26 11:04:33 -04:00
patch 8.1.0628: Compiler warning on MS-Windows.
Problem: Compiler warning on MS-Windows. Solution: Add type cast. (Mike Williams)
This commit is contained in:
parent
9123c0b31a
commit
80dae04d69
@ -2953,7 +2953,7 @@ FunctionNew(PyTypeObject *subtype, char_u *name, int argc, typval_T *argv,
|
||||
char_u *np;
|
||||
size_t len = STRLEN(p) + 1;
|
||||
|
||||
if ((np = alloc(len + 2)) == NULL)
|
||||
if ((np = alloc((int)len + 2)) == NULL)
|
||||
{
|
||||
vim_free(p);
|
||||
return NULL;
|
||||
|
@ -799,6 +799,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
628,
|
||||
/**/
|
||||
627,
|
||||
/**/
|
||||
|
Loading…
x
Reference in New Issue
Block a user