aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/nvim/eval.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/eval.c b/src/nvim/eval.c
index a4cec206f3..c10ecd43db 100644
--- a/src/nvim/eval.c
+++ b/src/nvim/eval.c
@@ -16199,7 +16199,7 @@ static void f_submatch(typval_T *argvars, typval_T *rettv, FunPtr fptr)
}
if (no < 0 || no >= NSUBEXP) {
- EMSG2(_("E935: invalid submatch number: %ld"), no);
+ EMSG2(_("E935: invalid submatch number: %d"), no);
return;
}
int retList = 0;