refactor: replace char_u with char

Work on https://github.com/neovim/neovim/issues/459
This commit is contained in:
Dundar Göc
2022-08-26 23:11:25 +02:00
parent 92bc11a891
commit 58f30a326f
61 changed files with 479 additions and 499 deletions

View File

@@ -1302,7 +1302,7 @@ void openscript(char_u *name, bool directly)
curscript++;
}
// use NameBuff for expanded name
expand_env(name, (char_u *)NameBuff, MAXPATHL);
expand_env((char *)name, NameBuff, MAXPATHL);
int error;
if ((scriptin[curscript] = file_open_new(&error, (char *)NameBuff,
kFileReadOnly, 0)) == NULL) {