0
0
mirror of https://github.com/vim/vim.git synced 2025-07-24 10:45:12 -04:00

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)
This commit is contained in:
Bram Moolenaar 2022-01-15 14:16:37 +00:00
parent 1050476ead
commit f60a63485e
2 changed files with 3 additions and 1 deletions

View File

@ -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 */
/**/
4097,
/**/ /**/
4096, 4096,
/**/ /**/

View File

@ -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) : isn->isn_arg.number != needed_list_len)
{ {
semsg(_(e_expected_nr_items_but_got_nr), 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; goto theend;
} }
} }