ci(windows): treat compiler warnings as errors

Reduce the warning level from 3 to 1 and fix all warnings.
This commit is contained in:
dundargoc
2022-11-12 13:34:14 +01:00
parent f8c6718277
commit 2755510f78
7 changed files with 24 additions and 13 deletions

View File

@@ -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;
}