aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/ex_docmd.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/ex_docmd.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/ex_docmd.c')
-rw-r--r--src/nvim/ex_docmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/ex_docmd.c b/src/nvim/ex_docmd.c
index d4f1169daf..ec2ff652b0 100644
--- a/src/nvim/ex_docmd.c
+++ b/src/nvim/ex_docmd.c
@@ -919,7 +919,7 @@ static char *get_loop_line(int c, void *cookie, int indent, bool do_concat)
char *line;
// First time inside the ":while"/":for": get line normally.
if (cp->getline == NULL) {
- line = (char *)getcmdline(c, 0L, indent, do_concat);
+ line = getcmdline(c, 0L, indent, do_concat);
} else {
line = cp->getline(c, cp->cookie, indent, do_concat);
}