aboutsummaryrefslogtreecommitdiff
path: root/src/undo.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/undo.c')
-rw-r--r--src/undo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/undo.c b/src/undo.c
index cf5911c3d4..72fbd20447 100644
--- a/src/undo.c
+++ b/src/undo.c
@@ -219,8 +219,8 @@ static void u_check(int newhead_may_be_NULL) {
EMSGN("b_u_curhead invalid: 0x%x", curbuf->b_u_curhead);
if (header_count != curbuf->b_u_numhead) {
EMSG("b_u_numhead invalid");
- smsg((char_u *)"expected: %ld, actual: %ld",
- (long)header_count, (long)curbuf->b_u_numhead);
+ smsg((char_u *)"expected: %" PRId64 ", actual: %" PRId64,
+ (int64_t)header_count, (int64_t)curbuf->b_u_numhead);
}
}