aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/ex_getln.c
diff options
context:
space:
mode:
authorDundar Goc <gocdundar@gmail.com>2022-04-30 20:28:04 +0200
committerDundar Goc <gocdundar@gmail.com>2022-04-30 23:39:17 +0200
commitaf782a630633ffe0cb082bda974b24d4f577313e (patch)
tree7a65343a9d6cdd926aa46db55dd263c2d9eda793 /src/nvim/ex_getln.c
parent0344736aa698dc205f8f9f80609b7033308d39ca (diff)
downloadrneovim-af782a630633ffe0cb082bda974b24d4f577313e.tar.gz
rneovim-af782a630633ffe0cb082bda974b24d4f577313e.tar.bz2
rneovim-af782a630633ffe0cb082bda974b24d4f577313e.zip
refactor: replace char_u variables and functions with char
Work on https://github.com/neovim/neovim/issues/459
Diffstat (limited to 'src/nvim/ex_getln.c')
-rw-r--r--src/nvim/ex_getln.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/ex_getln.c b/src/nvim/ex_getln.c
index 6550c5cbf3..cd8ade33c8 100644
--- a/src/nvim/ex_getln.c
+++ b/src/nvim/ex_getln.c
@@ -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;
}