aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/eval.c2
-rw-r--r--src/regexp_nfa.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/eval.c b/src/eval.c
index 1bac3f535d..b53b04258f 100644
--- a/src/eval.c
+++ b/src/eval.c
@@ -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");
diff --git a/src/regexp_nfa.c b/src/regexp_nfa.c
index 271699958e..8a87dae34b 100644
--- a/src/regexp_nfa.c
+++ b/src/regexp_nfa.c
@@ -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;