mirror of
https://github.com/neovim/neovim.git
synced 2025-09-18 01:08:20 +00:00
Use portable format specifiers: Case %ld - localized - smsg.
Fix uses of localized "%ld" within smsg(): - Replace "%ld" with "%" PRId64. - Cast corresponding argument to (int64_t).
This commit is contained in:

committed by
Thiago de Arruda

parent
182b84e1c3
commit
c049cb2b51
@@ -18819,8 +18819,8 @@ call_user_func (
|
||||
if (aborting())
|
||||
smsg((char_u *)_("%s aborted"), sourcing_name);
|
||||
else if (fc->rettv->v_type == VAR_NUMBER)
|
||||
smsg((char_u *)_("%s returning #%ld"), sourcing_name,
|
||||
(long)fc->rettv->vval.v_number);
|
||||
smsg((char_u *)_("%s returning #%" PRId64 ""),
|
||||
sourcing_name, (int64_t)fc->rettv->vval.v_number);
|
||||
else {
|
||||
char_u buf[MSG_BUF_LEN];
|
||||
char_u numbuf2[NUMBUFLEN];
|
||||
|
Reference in New Issue
Block a user