From c8752f657e3fd187591c7fbc5e407a4e6b306af7 Mon Sep 17 00:00:00 2001 From: Arseny Kapoulkine Date: Mon, 22 Nov 2021 07:34:29 -0800 Subject: [PATCH] Update VM/include/lualib.h --- VM/include/lualib.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/VM/include/lualib.h b/VM/include/lualib.h index 33427cf4..54b008ff 100644 --- a/VM/include/lualib.h +++ b/VM/include/lualib.h @@ -26,7 +26,7 @@ LUALIB_API double luaL_checknumber(lua_State* L, int numArg); LUALIB_API double luaL_optnumber(lua_State* L, int nArg, double def); LUALIB_API int luaL_checkboolean(lua_State* L, int narg); -LUALIB_API int luaL_optboolean(lua_State* L, int narg, bool def); +LUALIB_API int luaL_optboolean(lua_State* L, int narg, int def); LUALIB_API int luaL_checkinteger(lua_State* L, int numArg); LUALIB_API int luaL_optinteger(lua_State* L, int nArg, int def);