mirror of
https://github.com/neovim/neovim.git
synced 2025-10-01 07:28:34 +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
@@ -756,7 +756,7 @@ int do_move(linenr_T line1, linenr_T line2, linenr_T dest)
|
||||
if (num_lines == 1)
|
||||
MSG(_("1 line moved"));
|
||||
else
|
||||
smsg((char_u *)_("%ld lines moved"), num_lines);
|
||||
smsg((char_u *)_("%" PRId64 " lines moved"), (int64_t)num_lines);
|
||||
}
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user