aboutsummaryrefslogtreecommitdiff
path: root/src/message.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/message.c')
-rw-r--r--src/message.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/message.c b/src/message.c
index b0b13dfd4a..47143281fa 100644
--- a/src/message.c
+++ b/src/message.c
@@ -1064,7 +1064,7 @@ void msg_outnum(long n)
{
char_u buf[20];
- sprintf((char *)buf, "%ld", n);
+ sprintf((char *)buf, "%" PRId64, (int64_t)n);
msg_puts(buf);
}