aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/lua/executor.c
diff options
context:
space:
mode:
authordundargoc <gocdundar@gmail.com>2022-11-12 13:34:14 +0100
committerdundargoc <gocdundar@gmail.com>2022-11-14 20:17:04 +0100
commit2755510f7800ff675a5fbe2cfaa59459ff3ab6b2 (patch)
tree13bc54ad9b6f2c724eb188a5e44753c92652c43f /src/nvim/lua/executor.c
parentf8c671827710c6e9cca3bfd60c32098b2be8239a (diff)
downloadrneovim-2755510f7800ff675a5fbe2cfaa59459ff3ab6b2.tar.gz
rneovim-2755510f7800ff675a5fbe2cfaa59459ff3ab6b2.tar.bz2
rneovim-2755510f7800ff675a5fbe2cfaa59459ff3ab6b2.zip
ci(windows): treat compiler warnings as errors
Reduce the warning level from 3 to 1 and fix all warnings.
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;
}