forked from aniani/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)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user