diff options
Diffstat (limited to 'src/undo.c')
-rw-r--r-- | src/undo.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/undo.c b/src/undo.c index 72fbd20447..0a66a376eb 100644 --- a/src/undo.c +++ b/src/undo.c @@ -2330,11 +2330,11 @@ u_undo_end ( } } - smsg((char_u *)_("%ld %s; %s #%ld %s"), - u_oldcount < 0 ? -u_oldcount : u_oldcount, + smsg((char_u *)_("%" PRId64 " %s; %s #%" PRId64 " %s"), + u_oldcount < 0 ? (int64_t)-u_oldcount : (int64_t)u_oldcount, _(msgstr), did_undo ? _("before") : _("after"), - uhp == NULL ? 0L : uhp->uh_seq, + uhp == NULL ? (int64_t)0L : (int64_t)uhp->uh_seq, msgbuf); } |