From bf3b9d0ecbb16fc998c1c9656fd2ec235708ec55 Mon Sep 17 00:00:00 2001 From: Eliseo Martínez Date: Sun, 20 Apr 2014 15:10:16 +0200 Subject: Use portable format specifiers: Case %ld - plain - EMSGN. Fix uses of plain "%ld" within EMSGN(): - Replace "%ld" with "%" PRId64. - No argument cast needed. EMSGN() will take care of that. --- src/eval.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/eval.c') diff --git a/src/eval.c b/src/eval.c index 4c6351d8e0..1bac3f535d 100644 --- a/src/eval.c +++ b/src/eval.c @@ -11660,7 +11660,7 @@ static void f_matchadd(typval_T *argvars, typval_T *rettv) if (error == TRUE) return; if (id >= 1 && id <= 3) { - EMSGN("E798: ID is reserved for \":match\": %ld", id); + EMSGN("E798: ID is reserved for \":match\": %" PRId64, id); return; } -- cgit