aboutsummaryrefslogtreecommitdiff
path: root/src/ex_cmds.c
diff options
context:
space:
mode:
authorEliseo Martínez <eliseomarmol@gmail.com>2014-04-20 12:59:31 +0200
committerThiago de Arruda <tpadilha84@gmail.com>2014-04-23 06:56:32 -0300
commitc049cb2b5103d1f9c71b9b90a197bf17205867a2 (patch)
tree31946b1200173aa4f3cf41ac63390c1c1e921900 /src/ex_cmds.c
parent182b84e1c3f37b540e8b4436bc08854b8be892eb (diff)
downloadrneovim-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.c2
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);
}
/*