aboutsummaryrefslogtreecommitdiff
path: root/src/misc2.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/misc2.c')
-rw-r--r--src/misc2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/misc2.c b/src/misc2.c
index 452535d46e..a5a9393bcf 100644
--- a/src/misc2.c
+++ b/src/misc2.c
@@ -1365,10 +1365,10 @@ int emsg3(char_u *s, char_u *a1, char_u *a2)
}
/*
- * Print an error message with one "%ld" and one long int argument.
+ * Print an error message with one "%" PRId64 and one (int64_t) argument.
* This is not in message.c to avoid a warning for prototypes.
*/
-int emsgn(char_u *s, long n)
+int emsgn(char_u *s, int64_t n)
{
if (emsg_not_now())
return TRUE; /* no error messages at the moment */