aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/undo.c
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2018-10-07 19:36:01 +0200
committerGitHub <noreply@github.com>2018-10-07 19:36:01 +0200
commit512e0caae2e5ea507608588b645b723fc4b4f9c3 (patch)
tree8f36a6d3008dc5a1b4f71d1aa359886484a85cd4 /src/nvim/undo.c
parentf95e0ae92644d3695e9207ecfe8f5bea17594459 (diff)
parent2c84421de2e36b0e7e8d406d491d57c1b599fd30 (diff)
downloadrneovim-512e0caae2e5ea507608588b645b723fc4b4f9c3.tar.gz
rneovim-512e0caae2e5ea507608588b645b723fc4b4f9c3.tar.bz2
rneovim-512e0caae2e5ea507608588b645b723fc4b4f9c3.zip
Merge #9036 'func_attr_printf'
Diffstat (limited to 'src/nvim/undo.c')
-rw-r--r--src/nvim/undo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/undo.c b/src/nvim/undo.c
index 7dd101cb90..df0507ed41 100644
--- a/src/nvim/undo.c
+++ b/src/nvim/undo.c
@@ -2503,8 +2503,8 @@ void ex_undolist(exarg_T *eap)
while (uhp != NULL) {
if (uhp->uh_prev.ptr == NULL && uhp->uh_walk != nomark
&& uhp->uh_walk != mark) {
- vim_snprintf((char *)IObuff, IOSIZE, "%6ld %7ld ",
- uhp->uh_seq, changes);
+ vim_snprintf((char *)IObuff, IOSIZE, "%6ld %7d ",
+ uhp->uh_seq, changes);
u_add_time(IObuff + STRLEN(IObuff), IOSIZE - STRLEN(IObuff),
uhp->uh_time);
if (uhp->uh_save_nr > 0) {