aboutsummaryrefslogtreecommitdiff
path: root/src/misc1.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/misc1.c')
-rw-r--r--src/misc1.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/misc1.c b/src/misc1.c
index a622c4f173..671ab93327 100644
--- a/src/misc1.c
+++ b/src/misc1.c
@@ -2604,10 +2604,10 @@ void msgmore(long n)
} else {
if (n > 0)
vim_snprintf((char *)msg_buf, MSG_BUF_LEN,
- _("%ld more lines"), pn);
+ _("%" PRId64 " more lines"), (int64_t)pn);
else
vim_snprintf((char *)msg_buf, MSG_BUF_LEN,
- _("%ld fewer lines"), pn);
+ _("%" PRId64 " fewer lines"), (int64_t)pn);
}
if (got_int)
vim_strcat(msg_buf, (char_u *)_(" (Interrupted)"), MSG_BUF_LEN);