Use portable format specifiers: Case %ld - localized - EMSGN.

Fix uses of localized "%ld" within EMSGN():
- Replace "%ld" with "%" PRId64.
- No argument cast needed. EMSGN() will take care of that.
This commit is contained in:
Eliseo Martínez
2014-04-20 15:20:22 +02:00
committed by Thiago de Arruda
parent bf3b9d0ecb
commit b8f3ff2a69
10 changed files with 19 additions and 19 deletions

View File

@@ -3386,7 +3386,7 @@ int set_errorlist(win_T *wp, list_T *list, int action, char_u *title)
if (bufnum != 0 && (buflist_findnr(bufnum) == NULL)) {
if (!did_bufnr_emsg) {
did_bufnr_emsg = TRUE;
EMSGN(_("E92: Buffer %ld not found"), bufnum);
EMSGN(_("E92: Buffer %" PRId64 " not found"), bufnum);
}
valid = FALSE;
bufnum = 0;