From: Bram Moolenaar Date: Sat, 15 Jan 2022 14:16:37 +0000 (+0000) Subject: patch 8.2.4097: wrong number in error message on 32 bit system X-Git-Tag: v8.2.4097 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f60a63485ea26d9bda1618d1b72662eca65b5f1f;p=vim 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 ca56f419c..7a75be32a 100644 --- a/src/version.c +++ b/src/version.c @@ -750,6 +750,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 4097, /**/ 4096, /**/ diff --git a/src/vim9compile.c b/src/vim9compile.c index af11ba929..afc788543 100644 --- a/src/vim9compile.c +++ b/src/vim9compile.c @@ -2008,7 +2008,7 @@ compile_assignment(char_u *arg, exarg_T *eap, cmdidx_T cmdidx, cctx_T *cctx) : 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; } }