diff options
author | Eliseo Martínez <eliseomarmol@gmail.com> | 2014-04-20 15:10:16 +0200 |
---|---|---|
committer | Thiago de Arruda <tpadilha84@gmail.com> | 2014-04-23 06:56:33 -0300 |
commit | bf3b9d0ecbb16fc998c1c9656fd2ec235708ec55 (patch) | |
tree | 944fec853b79be322a5a92f31e93025e1389ef23 /src/eval.c | |
parent | 5b0aa1cb578914426a26573ba3a7b34dfd65bf04 (diff) | |
download | rneovim-bf3b9d0ecbb16fc998c1c9656fd2ec235708ec55.tar.gz rneovim-bf3b9d0ecbb16fc998c1c9656fd2ec235708ec55.tar.bz2 rneovim-bf3b9d0ecbb16fc998c1c9656fd2ec235708ec55.zip |
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.
Diffstat (limited to 'src/eval.c')
-rw-r--r-- | src/eval.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |