mirror of
https://github.com/vim/vim.git
synced 2025-07-26 11:04:33 -04:00
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[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
2270,
|
||||||
/**/
|
/**/
|
||||||
2269,
|
2269,
|
||||||
/**/
|
/**/
|
||||||
|
@ -1526,7 +1526,7 @@ call_def_function(
|
|||||||
if (GA_GROW(&ectx.ec_stack, 1) == FAIL)
|
if (GA_GROW(&ectx.ec_stack, 1) == FAIL)
|
||||||
goto failed;
|
goto failed;
|
||||||
SOURCING_LNUM = iptr->isn_lnum;
|
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)
|
STACK_TV_BOT(0), NULL, TRUE, FALSE) == FAIL)
|
||||||
goto on_error;
|
goto on_error;
|
||||||
++ectx.ec_stack.ga_len;
|
++ectx.ec_stack.ga_len;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user