aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/lua/executor.c
diff options
context:
space:
mode:
authorii14 <59243201+ii14@users.noreply.github.com>2023-04-07 21:43:00 +0200
committerGitHub <noreply@github.com>2023-04-07 21:43:00 +0200
commit2d78e656b715119ca11d131a1a932f22f1b4ad36 (patch)
tree2cb91a5838a33174019389c2e8e5e537a04ad914 /src/nvim/lua/executor.c
parent04933b1ea968f958d2541dd65fd33ebb503caac3 (diff)
downloadrneovim-2d78e656b715119ca11d131a1a932f22f1b4ad36.tar.gz
rneovim-2d78e656b715119ca11d131a1a932f22f1b4ad36.tar.bz2
rneovim-2d78e656b715119ca11d131a1a932f22f1b4ad36.zip
refactor: remove redundant casts
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 82db8445df..3646fd876b 100644
--- a/src/nvim/lua/executor.c
+++ b/src/nvim/lua/executor.c
@@ -1172,7 +1172,7 @@ int nlua_call(lua_State *lstate)
TRY_WRAP(&err, {
// call_func() retval is deceptive, ignore it. Instead we set `msg_list`
// (TRY_WRAP) to capture abort-causing non-exception errors.
- (void)call_func((char *)name, (int)name_len, &rettv, nargs, vim_args, &funcexe);
+ (void)call_func(name, (int)name_len, &rettv, nargs, vim_args, &funcexe);
});
if (!ERROR_SET(&err)) {