aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/lua/executor.c
diff options
context:
space:
mode:
authorbfredl <bjorn.linse@gmail.com>2022-11-15 10:35:25 +0100
committerGitHub <noreply@github.com>2022-11-15 10:35:25 +0100
commitc6c265a86ce86e99fdb6d4375219b56dc293c832 (patch)
tree33497a1fd8a57b497562f3343e0d1a99727467c7 /src/nvim/lua/executor.c
parent9d2a6cd11e092de838939ce993e8d18f5c9584b7 (diff)
parent2755510f7800ff675a5fbe2cfaa59459ff3ab6b2 (diff)
downloadrneovim-c6c265a86ce86e99fdb6d4375219b56dc293c832.tar.gz
rneovim-c6c265a86ce86e99fdb6d4375219b56dc293c832.tar.bz2
rneovim-c6c265a86ce86e99fdb6d4375219b56dc293c832.zip
Merge pull request #21031 from dundargoc/fix/windows
ci(windows): treat compiler warnings as errors
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 9cb42a81d3..c27df01342 100644
--- a/src/nvim/lua/executor.c
+++ b/src/nvim/lua/executor.c
@@ -585,7 +585,7 @@ static bool nlua_init_packages(lua_State *lstate)
lua_getglobal(lstate, "require");
lua_pushstring(lstate, "vim._init_packages");
if (nlua_pcall(lstate, 1, 0)) {
- mch_errmsg(lua_tostring(lstate, -1));
+ mch_errmsg((char *)lua_tostring(lstate, -1));
mch_errmsg("\n");
return false;
}