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

committed by
Thiago de Arruda

parent
3f8061f16c
commit
22dd4f62d3
@@ -1190,7 +1190,7 @@ do_filter (
|
||||
if (linecount > p_report) {
|
||||
if (do_in) {
|
||||
vim_snprintf((char *)msg_buf, sizeof(msg_buf),
|
||||
_("%ld lines filtered"), (long)linecount);
|
||||
_("%" PRId64 " lines filtered"), (int64_t)linecount);
|
||||
if (msg(msg_buf) && !msg_scroll)
|
||||
/* save message to display it after redraw */
|
||||
set_keep_msg(msg_buf, 0);
|
||||
|
Reference in New Issue
Block a user