aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/ex_getln.c
diff options
context:
space:
mode:
authorbfredl <bjorn.linse@gmail.com>2022-05-01 10:35:48 +0200
committerGitHub <noreply@github.com>2022-05-01 10:35:48 +0200
commitd9dcfd0219d51add74e6d93d5d1408be4b47bd97 (patch)
treef2144153081387585579c3d1440f78bdf1992331 /src/nvim/ex_getln.c
parent07660193a38918aa6a17ec691c4e8b021436ed67 (diff)
parentaf782a630633ffe0cb082bda974b24d4f577313e (diff)
downloadrneovim-d9dcfd0219d51add74e6d93d5d1408be4b47bd97.tar.gz
rneovim-d9dcfd0219d51add74e6d93d5d1408be4b47bd97.tar.bz2
rneovim-d9dcfd0219d51add74e6d93d5d1408be4b47bd97.zip
Merge pull request #18334 from dundargoc/refactor/remove-char_u
refactor: replace char_u variables and functions with char
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;
}