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

@@ -4932,8 +4932,8 @@ static int ExpandFromContext(expand_T *xp, char_u *pat, int *num_file, char_u **
if (xp->xp_context == EXPAND_HELP) {
/* With an empty argument we would get all the help tags, which is
* very slow. Get matches for "help" instead. */
if (find_help_tags(*pat == NUL ? (char_u *)"help" : pat,
num_file, file, false) == OK) {
if (find_help_tags(*pat == NUL ? "help" : (char *)pat,
num_file, (char ***)file, false) == OK) {
cleanup_help_tags(*num_file, *file);
return OK;
}