diff options
author | Eliseo Martínez <eliseomarmol@gmail.com> | 2014-04-20 12:59:31 +0200 |
---|---|---|
committer | Thiago de Arruda <tpadilha84@gmail.com> | 2014-04-23 06:56:32 -0300 |
commit | c049cb2b5103d1f9c71b9b90a197bf17205867a2 (patch) | |
tree | 31946b1200173aa4f3cf41ac63390c1c1e921900 /src/ex_cmds.c | |
parent | 182b84e1c3f37b540e8b4436bc08854b8be892eb (diff) | |
download | rneovim-c049cb2b5103d1f9c71b9b90a197bf17205867a2.tar.gz rneovim-c049cb2b5103d1f9c71b9b90a197bf17205867a2.tar.bz2 rneovim-c049cb2b5103d1f9c71b9b90a197bf17205867a2.zip |
Use portable format specifiers: Case %ld - localized - smsg.
Fix uses of localized "%ld" within smsg():
- Replace "%ld" with "%" PRId64.
- Cast corresponding argument to (int64_t).
Diffstat (limited to 'src/ex_cmds.c')
-rw-r--r-- | src/ex_cmds.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ex_cmds.c b/src/ex_cmds.c index a726ca1a79..4d17e7ba41 100644 --- a/src/ex_cmds.c +++ b/src/ex_cmds.c @@ -756,7 +756,7 @@ int do_move(linenr_T line1, linenr_T line2, linenr_T dest) if (num_lines == 1) MSG(_("1 line moved")); else - smsg((char_u *)_("%ld lines moved"), num_lines); + smsg((char_u *)_("%" PRId64 " lines moved"), (int64_t)num_lines); } /* |