diff options
author | MichaHoffmann <michoffmann.potsdam@gmail.com> | 2018-09-23 15:44:13 +0200 |
---|---|---|
committer | MichaHoffmann <michoffmann.potsdam@gmail.com> | 2018-09-24 21:28:04 +0200 |
commit | affef0aab81aa8b811f829c0fab0b9f1bf5ebbb3 (patch) | |
tree | 7544c2584f0744e926c1426dc54ce9b3ddfd63b3 /src/nvim/undo.c | |
parent | 9183e2c67e82b55c6dba19266671d07a6604c0f1 (diff) | |
download | rneovim-affef0aab81aa8b811f829c0fab0b9f1bf5ebbb3.tar.gz rneovim-affef0aab81aa8b811f829c0fab0b9f1bf5ebbb3.tar.bz2 rneovim-affef0aab81aa8b811f829c0fab0b9f1bf5ebbb3.zip |
add func_attr_printf in :
log.c
message.c
strings.c
fixed some printf warnings in:
src/nvim/undo.c
src/nvim/eval.c
src/nvim/eval/encode.c
src/nvim/eval/typval.c
src/nvim/ex_getln.c
src/nvim/fileio.c
src/nvim/lua/executor.c
src/nvim/main.c
src/nvim/regexp_nfa.c
src/nvim/shada.c
src/nvim/spellfile.c
src/nvim/tui/terminfo.c
src/nvim/garray.h
Diffstat (limited to 'src/nvim/undo.c')
-rw-r--r-- | src/nvim/undo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/undo.c b/src/nvim/undo.c index 2a86cc1fea..7e9141edda 100644 --- a/src/nvim/undo.c +++ b/src/nvim/undo.c @@ -2503,7 +2503,7 @@ 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 ", + vim_snprintf((char *)IObuff, IOSIZE, "%6ld %7d ", uhp->uh_seq, changes); u_add_time(IObuff + STRLEN(IObuff), IOSIZE - STRLEN(IObuff), uhp->uh_time); |