forked from aniani/vim
patch 8.2.2270: warning for size_t to int conversion
Problem: Warning for size_t to int conversion. (Randall W. Morris) Solution: Add a type cast.
This commit is contained in:
parent
edc10b541b
commit
38a434f7ba
@ -750,6 +750,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
2270,
|
||||
/**/
|
||||
2269,
|
||||
/**/
|
||||
|
@ -1526,7 +1526,7 @@ call_def_function(
|
||||
if (GA_GROW(&ectx.ec_stack, 1) == FAIL)
|
||||
goto failed;
|
||||
SOURCING_LNUM = iptr->isn_lnum;
|
||||
if (eval_variable(name, STRLEN(name),
|
||||
if (eval_variable(name, (int)STRLEN(name),
|
||||
STACK_TV_BOT(0), NULL, TRUE, FALSE) == FAIL)
|
||||
goto on_error;
|
||||
++ectx.ec_stack.ga_len;
|
||||
|
Loading…
x
Reference in New Issue
Block a user