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)
diff --git a/src/version.c b/src/version.c
index f849252..ea77645 100644
--- a/src/version.c
+++ b/src/version.c
@@ -758,6 +758,8 @@
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 3655,
+/**/
3654,
/**/
3653,
diff --git a/src/vim9compile.c b/src/vim9compile.c
index 934f41b..fe692cb 100644
--- a/src/vim9compile.c
+++ b/src/vim9compile.c
@@ -8255,7 +8255,7 @@
}
else
{
- if (!valid_varname(arg, varlen, FALSE))
+ if (!valid_varname(arg, (int)varlen, FALSE))
goto failed;
if (lookup_local(arg, varlen, NULL, cctx) == OK)
{