From eacd92b3c640fa32d78269204db8ad0be8de85f6 Mon Sep 17 00:00:00 2001 From: Benoit Germain Date: Tue, 26 Nov 2013 11:20:03 +0100 Subject: Fix a 64 bits compilation warning --- src/keeper.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/keeper.c b/src/keeper.c index 8686bc8..8da3c08 100644 --- a/src/keeper.c +++ b/src/keeper.c @@ -572,7 +572,7 @@ char const* init_keepers( lua_State* L) STACK_CHECK( L); lua_getfield( L, 1, "nb_keepers"); - GNbKeepers = lua_tointeger( L, -1); + GNbKeepers = (int) lua_tointeger( L, -1); lua_pop( L, 1); STACK_END( L, 0); assert( GNbKeepers >= 1); -- cgit v1.2.3-55-g6feb