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

Fix uses of plain "%ld" within N_():
- Replace "%ld" with "%" PRId64.
This commit is contained in:
Eliseo Martínez 2014-04-20 18:29:30 +02:00 committed by Thiago de Arruda
parent b8f3ff2a69
commit 28bac30c19
2 changed files with 2 additions and 2 deletions

View File

@ -133,7 +133,7 @@ typedef struct lval_S {
static char *e_letunexp = N_("E18: Unexpected characters in :let");
static char *e_listidx = N_("E684: list index out of range: %ld");
static char *e_listidx = N_("E684: list index out of range: %" PRId64);
static char *e_undefvar = N_("E121: Undefined variable: %s");
static char *e_missbrac = N_("E111: Missing ']'");
static char *e_listarg = N_("E686: Argument of %s must be a List");

View File

@ -240,7 +240,7 @@ static char_u e_nul_found[] = N_(
"E865: (NFA) Regexp end encountered prematurely");
static char_u e_misplaced[] = N_("E866: (NFA regexp) Misplaced %c");
static char_u e_ill_char_class[] = N_(
"E877: (NFA regexp) Invalid character class: %ld");
"E877: (NFA regexp) Invalid character class: %" PRId64);
/* NFA regexp \ze operator encountered. */
static int nfa_has_zend;