aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/cmdexpand.c
diff options
context:
space:
mode:
authordundargoc <33953936+dundargoc@users.noreply.github.com>2023-01-18 11:52:19 +0100
committerGitHub <noreply@github.com>2023-01-18 18:52:19 +0800
commit2c1e7242f9bed345e520e9060e5e13fe48a023eb (patch)
tree055b59ac52cc94db96ce89480b9ada32883af826 /src/nvim/cmdexpand.c
parent7f7b83baef87b049b8779061065046ee161e2d7c (diff)
downloadrneovim-2c1e7242f9bed345e520e9060e5e13fe48a023eb.tar.gz
rneovim-2c1e7242f9bed345e520e9060e5e13fe48a023eb.tar.bz2
rneovim-2c1e7242f9bed345e520e9060e5e13fe48a023eb.zip
refactor: replace char_u with char 23 (#21798)
Work on https://github.com/neovim/neovim/issues/459
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 59891e9899..c876e04f29 100644
--- a/src/nvim/cmdexpand.c
+++ b/src/nvim/cmdexpand.c
@@ -2349,7 +2349,7 @@ void set_cmd_context(expand_T *xp, char *str, int len, int col, int use_ccline)
} else if (use_ccline && ccline->input_fn) {
xp->xp_context = ccline->xp_context;
xp->xp_pattern = ccline->cmdbuff;
- xp->xp_arg = (char *)ccline->xp_arg;
+ xp->xp_arg = ccline->xp_arg;
} else {
while (nextcomm != NULL) {
nextcomm = set_one_cmd_context(xp, nextcomm);