aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/ex_cmds.c
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2022-07-12 12:18:10 +0800
committerGitHub <noreply@github.com>2022-07-12 12:18:10 +0800
commit540d1af90e2276a8bd3b5edb1a63c8225a1aa423 (patch)
treea5d15ea92d0197cd0f5c3b08d6c95071fc0913ba /src/nvim/ex_cmds.c
parent034d28c705ccb93dea27613cbf91ba3f9c1caaa7 (diff)
parent53392f48b1e258bc11afdad7104930d7c1a361da (diff)
downloadrneovim-540d1af90e2276a8bd3b5edb1a63c8225a1aa423.tar.gz
rneovim-540d1af90e2276a8bd3b5edb1a63c8225a1aa423.tar.bz2
rneovim-540d1af90e2276a8bd3b5edb1a63c8225a1aa423.zip
Merge pull request #19330 from zeertzjq/vim-8.2.0203
vim-patch:8.2.0203: :helptags and some other functionality not tested
Diffstat (limited to 'src/nvim/ex_cmds.c')
-rw-r--r--src/nvim/ex_cmds.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/ex_cmds.c b/src/nvim/ex_cmds.c
index 1955a0b3d0..afded97a01 100644
--- a/src/nvim/ex_cmds.c
+++ b/src/nvim/ex_cmds.c
@@ -3883,7 +3883,7 @@ static int do_sub(exarg_T *eap, proftime_T timeout, long cmdpreview_ns, handle_T
prompt = xmallocz((size_t)ec + 1);
memset(prompt, ' ', (size_t)sc);
memset(prompt + sc, '^', (size_t)(ec - sc) + 1);
- resp = getcmdline_prompt((char)(-1), prompt, 0, EXPAND_NOTHING, NULL, CALLBACK_NONE);
+ resp = getcmdline_prompt(-1, prompt, 0, EXPAND_NOTHING, NULL, CALLBACK_NONE);
msg_putchar('\n');
xfree(prompt);
if (resp != NULL) {