refactor: replace char_u variables and functions with char (#18288)

Work on https://github.com/neovim/neovim/issues/459
This commit is contained in:
dundargoc
2022-04-30 16:48:00 +02:00
committed by GitHub
parent fcdf24d8be
commit 3c23100130
15 changed files with 492 additions and 508 deletions

View File

@@ -831,7 +831,7 @@ void do_autocmd(char_u *arg_in, int forceit)
// Find the start of the commands.
// Expand <sfile> in it.
if (*cmd != NUL) {
cmd = expand_sfile(cmd);
cmd = (char_u *)expand_sfile((char *)cmd);
if (cmd == NULL) { // some error
return;
}