aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/lua/executor.c
diff options
context:
space:
mode:
authorbfredl <bjorn.linse@gmail.com>2022-05-04 17:34:25 +0200
committerGitHub <noreply@github.com>2022-05-04 17:34:25 +0200
commit4f17e7e1c38e53eb214fd85cde1cbbe332e86498 (patch)
tree3a1457be276d95ffccbb760e79c708ab11b2cd54 /src/nvim/lua/executor.c
parent3ec93ca92cb08faed342586e86a6f21b35264376 (diff)
parent5576d30e89153c817fb1a8d23c30cfc0432bc7c6 (diff)
downloadrneovim-4f17e7e1c38e53eb214fd85cde1cbbe332e86498.tar.gz
rneovim-4f17e7e1c38e53eb214fd85cde1cbbe332e86498.tar.bz2
rneovim-4f17e7e1c38e53eb214fd85cde1cbbe332e86498.zip
Merge pull request #18387 from dundargoc/refactor/remove-char_u
refactor: replace char_u variables and functions with char
Diffstat (limited to 'src/nvim/lua/executor.c')
-rw-r--r--src/nvim/lua/executor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/lua/executor.c b/src/nvim/lua/executor.c
index 9cdc299ea7..1777ba0a76 100644
--- a/src/nvim/lua/executor.c
+++ b/src/nvim/lua/executor.c
@@ -1873,7 +1873,7 @@ void nlua_do_ucmd(ucmd_T *cmd, exarg_T *eap)
char *buf = xcalloc(length, sizeof(char));
bool done = false;
while (!done) {
- done = uc_split_args_iter(eap->arg, length, &end, buf, &len);
+ done = uc_split_args_iter((char_u *)eap->arg, length, &end, buf, &len);
if (len > 0) {
lua_pushlstring(lstate, buf, len);
lua_rawseti(lstate, -2, i);