refactor: replace char_u variables and functions with char

Work on https://github.com/neovim/neovim/issues/459
This commit is contained in:
Dundar Goc
2022-05-04 13:00:18 +02:00
parent 4f17e7e1c3
commit f08477789f
11 changed files with 174 additions and 177 deletions

View File

@@ -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;