From c049cb2b5103d1f9c71b9b90a197bf17205867a2 Mon Sep 17 00:00:00 2001 From: Eliseo Martínez Date: Sun, 20 Apr 2014 12:59:31 +0200 Subject: 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). --- src/ex_cmds.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ex_cmds.c') 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); } /* -- cgit