diff options
author | Eliseo Martínez <eliseomarmol@gmail.com> | 2014-04-20 12:49:33 +0200 |
---|---|---|
committer | Thiago de Arruda <tpadilha84@gmail.com> | 2014-04-23 06:56:32 -0300 |
commit | 182b84e1c3f37b540e8b4436bc08854b8be892eb (patch) | |
tree | 8b920212449aba3e23625e6d53c55d93b13c2f46 /src/ex_docmd.c | |
parent | 1bffe66508ff986a61c0e08caddc92b7f3ace81e (diff) | |
download | rneovim-182b84e1c3f37b540e8b4436bc08854b8be892eb.tar.gz rneovim-182b84e1c3f37b540e8b4436bc08854b8be892eb.tar.bz2 rneovim-182b84e1c3f37b540e8b4436bc08854b8be892eb.zip |
Use portable format specifiers: Case %ld - plain - smsg.
Fix uses of plain "%ld" within smsg():
- Replace "%ld" with "%" PRId64.
- Cast corresponding argument to (int64_t).
Diffstat (limited to 'src/ex_docmd.c')
-rw-r--r-- | src/ex_docmd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ex_docmd.c b/src/ex_docmd.c index 19a297928a..2f6bf428b4 100644 --- a/src/ex_docmd.c +++ b/src/ex_docmd.c @@ -6663,7 +6663,7 @@ static void ex_pwd(exarg_T *eap) */ static void ex_equal(exarg_T *eap) { - smsg((char_u *)"%ld", (long)eap->line2); + smsg((char_u *)"%" PRId64, (int64_t)eap->line2); ex_may_print(eap); } |