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/quickfix.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/quickfix.c')
-rw-r--r-- | src/nvim/quickfix.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/quickfix.c b/src/nvim/quickfix.c index e3984ef57f..667c0cd7b6 100644 --- a/src/nvim/quickfix.c +++ b/src/nvim/quickfix.c @@ -5229,7 +5229,7 @@ static buf_T *vgr_load_dummy_buf(char *fname, char *dirname_start, char *dirname { // Don't do Filetype autocommands to avoid loading syntax and // indent scripts, a great speed improvement. - char *save_ei = (char *)au_event_disable(",Filetype"); + char *save_ei = au_event_disable(",Filetype"); long save_mls = p_mls; p_mls = 0; @@ -5239,7 +5239,7 @@ static buf_T *vgr_load_dummy_buf(char *fname, char *dirname_start, char *dirname buf_T *buf = load_dummy_buffer(fname, dirname_start, dirname_now); p_mls = save_mls; - au_event_restore((char_u *)save_ei); + au_event_restore(save_ei); return buf; } |