mirror of
https://github.com/vim/vim.git
synced 2025-07-26 11:04:33 -04:00
patch 8.2.3655: compiler warning for using size_t for int
Problem: Compiler warning for using size_t for int. Solution: Add a type cast. (Mike Williams, closes #9199)
This commit is contained in:
parent
ee93e327ba
commit
cc9d725bbb
@ -757,6 +757,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
3655,
|
||||
/**/
|
||||
3654,
|
||||
/**/
|
||||
|
@ -8255,7 +8255,7 @@ compile_for(char_u *arg_start, cctx_T *cctx)
|
||||
}
|
||||
else
|
||||
{
|
||||
if (!valid_varname(arg, varlen, FALSE))
|
||||
if (!valid_varname(arg, (int)varlen, FALSE))
|
||||
goto failed;
|
||||
if (lookup_local(arg, varlen, NULL, cctx) == OK)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user