aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/cmdexpand.c
diff options
context:
space:
mode:
authorbfredl <bjorn.linse@gmail.com>2022-10-15 18:17:07 +0200
committerGitHub <noreply@github.com>2022-10-15 18:17:07 +0200
commitd4841e24dac9a16b8b90b212df20872badc4468e (patch)
tree921d79e13daf44adbfbc5585f7dc405b6429ed19 /src/nvim/cmdexpand.c
parent0434f732a696248c24e111b558406f9534db6ca3 (diff)
parent04cdea5f4ac49fa62cc4091a5c26791b80b4cc4c (diff)
downloadrneovim-d4841e24dac9a16b8b90b212df20872badc4468e.tar.gz
rneovim-d4841e24dac9a16b8b90b212df20872badc4468e.tar.bz2
rneovim-d4841e24dac9a16b8b90b212df20872badc4468e.zip
Merge pull request #20140 from dundargoc/refactor/char_u/12
refactor: replace char_u with char 12: remove `STRLEN` part 2
Diffstat (limited to 'src/nvim/cmdexpand.c')
-rw-r--r--src/nvim/cmdexpand.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/cmdexpand.c b/src/nvim/cmdexpand.c
index e728bd6967..fb29a723bc 100644
--- a/src/nvim/cmdexpand.c
+++ b/src/nvim/cmdexpand.c
@@ -2192,7 +2192,7 @@ static int ExpandFromContext(expand_T *xp, char_u *pat, int *num_file, char ***f
if (xp->xp_context == EXPAND_LUA) {
ILOG("PAT %s", pat);
- return nlua_expand_pat(xp, pat, num_file, file);
+ return nlua_expand_pat(xp, (char *)pat, num_file, file);
}
regmatch.regprog = vim_regcomp((char *)pat, p_magic ? RE_MAGIC : 0);