patch 8.2.4097: wrong number in error message on 32 bit system
Problem: Wrong number in error message on 32 bit system. (John Paul Adrian
Glaubitz)
Solution: Add type cast. (closes #9527)
diff --git a/src/version.c b/src/version.c
index ca56f41..7a75be3 100644
--- a/src/version.c
+++ b/src/version.c
@@ -751,6 +751,8 @@
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 4097,
+/**/
4096,
/**/
4095,
diff --git a/src/vim9compile.c b/src/vim9compile.c
index af11ba9..afc7885 100644
--- a/src/vim9compile.c
+++ b/src/vim9compile.c
@@ -2008,7 +2008,7 @@
: isn->isn_arg.number != needed_list_len)
{
semsg(_(e_expected_nr_items_but_got_nr),
- needed_list_len, isn->isn_arg.number);
+ needed_list_len, (int)isn->isn_arg.number);
goto theend;
}
}