diff options
author | Dundar Goc <gocdundar@gmail.com> | 2022-05-04 13:00:18 +0200 |
---|---|---|
committer | Dundar Goc <gocdundar@gmail.com> | 2022-05-04 17:49:37 +0200 |
commit | f08477789fe241c3868d3856643c78da0760cd19 (patch) | |
tree | a44e1d1715323e43e1a6440fe95d2268778e69b8 /src/nvim/ex_cmds2.c | |
parent | 4f17e7e1c38e53eb214fd85cde1cbbe332e86498 (diff) | |
download | rneovim-f08477789fe241c3868d3856643c78da0760cd19.tar.gz rneovim-f08477789fe241c3868d3856643c78da0760cd19.tar.bz2 rneovim-f08477789fe241c3868d3856643c78da0760cd19.zip |
refactor: replace char_u variables and functions with char
Work on https://github.com/neovim/neovim/issues/459
Diffstat (limited to 'src/nvim/ex_cmds2.c')
-rw-r--r-- | src/nvim/ex_cmds2.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/ex_cmds2.c b/src/nvim/ex_cmds2.c index e2664e427c..39c5670e93 100644 --- a/src/nvim/ex_cmds2.c +++ b/src/nvim/ex_cmds2.c @@ -1295,7 +1295,7 @@ void ex_listdo(exarg_T *eap) if (eap->cmdidx != CMD_windo && eap->cmdidx != CMD_tabdo) { // Don't do syntax HL autocommands. Skipping the syntax file is a // great speed improvement. - save_ei = au_event_disable(",Syntax"); + save_ei = (char_u *)au_event_disable(",Syntax"); FOR_ALL_BUFFERS(buf) { buf->b_flags &= ~BF_SYN_SET; @@ -1508,7 +1508,7 @@ void ex_listdo(exarg_T *eap) buf_T *bnext; aco_save_T aco; - au_event_restore(save_ei); + au_event_restore((char *)save_ei); for (buf_T *buf = firstbuf; buf != NULL; buf = bnext) { bnext = buf->b_next; |