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:
Eliseo Martínez 2014-05-02 21:35:00 +02:00 committed by Justin M. Keyes
parent a9e6098637
commit ddafdacb00

View File

@ -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);
}
}