mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
Use portable format specifiers: Case %lu - localized - EMSGU.
Problem EMSGN was being used to print a format string using "%lu", which is incorrect because EMSGN casts its argument to int64_t. Solution Use EMGSU instead.
This commit is contained in:
parent
a9e6098637
commit
ddafdacb00
@ -235,7 +235,7 @@ void do_outofmem_msg(long_u size)
|
||||
* message fails, e.g. when setting v:errmsg. */
|
||||
did_outofmem_msg = TRUE;
|
||||
|
||||
EMSGN(_("E342: Out of memory! (allocating %" PRIu64 " bytes)"), size);
|
||||
EMSGU(_("E342: Out of memory! (allocating %" PRIu64 " bytes)"), size);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user