From be58bb0bf683c5c15589ecf68367a1fbaa9e0a8f Mon Sep 17 00:00:00 2001 From: Benoit Germain Date: Tue, 16 Dec 2014 15:54:31 +0100 Subject: preliminary Lua 5.3 support Untested, but it might just work :). --- src/tools.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/tools.h') diff --git a/src/tools.h b/src/tools.h index b868440..a4bcf43 100644 --- a/src/tools.h +++ b/src/tools.h @@ -132,7 +132,7 @@ extern void* const UNIVERSE_REGKEY; #endif #define ASSERT_L(c) _ASSERT_L(L,c) -#define STACK_GROW(L,n) do { if (!lua_checkstack(L,n)) luaL_error( L, "Cannot grow stack!" ); } while( 0) +#define STACK_GROW( L, n) do { if (!lua_checkstack(L,(int)(n))) luaL_error( L, "Cannot grow stack!" ); } while( 0) #define LUAG_FUNC( func_name ) static int LG_##func_name( lua_State* L) -- cgit v1.2.3-55-g6feb