aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/lua/executor.c
diff options
context:
space:
mode:
authorDundar Goc <gocdundar@gmail.com>2022-05-03 11:06:27 +0200
committerDundar Goc <gocdundar@gmail.com>2022-05-04 15:25:54 +0200
commit5576d30e89153c817fb1a8d23c30cfc0432bc7c6 (patch)
tree3a1457be276d95ffccbb760e79c708ab11b2cd54 /src/nvim/lua/executor.c
parent3ec93ca92cb08faed342586e86a6f21b35264376 (diff)
downloadrneovim-5576d30e89153c817fb1a8d23c30cfc0432bc7c6.tar.gz
rneovim-5576d30e89153c817fb1a8d23c30cfc0432bc7c6.tar.bz2
rneovim-5576d30e89153c817fb1a8d23c30cfc0432bc7c6.zip
refactor: replace char_u variables and functions with char
Work on https://github.com/neovim/neovim/issues/459
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);