mirror of
https://github.com/vim/vim.git
synced 2025-07-04 23:07:33 -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:
parent
1050476ead
commit
f60a63485e
@ -750,6 +750,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
4097,
|
||||
/**/
|
||||
4096,
|
||||
/**/
|
||||
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user