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-04-30 20:28:04 +02:00
parent 0344736aa6
commit af782a6306
13 changed files with 374 additions and 379 deletions

View File

@@ -1113,7 +1113,7 @@ void nvim_buf_set_name(Buffer buffer, String name, Error *err)
// Using aucmd_*: autocommands will be executed by rename_buffer
aco_save_T aco;
aucmd_prepbuf(&aco, buf);
int ren_ret = rename_buffer((char_u *)name.data);
int ren_ret = rename_buffer(name.data);
aucmd_restbuf(&aco);
if (try_end(err)) {