From 2fa476655fb1a733bcf8c408f14103bd7abed1b8 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Thu, 25 Oct 2007 17:31:05 -0200 Subject: [PATCH] detail --- lbaselib.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lbaselib.c b/lbaselib.c index f9c0f5e7..53a2a6e7 100644 --- a/lbaselib.c +++ b/lbaselib.c @@ -1,5 +1,5 @@ /* -** $Id: lbaselib.c,v 1.198 2007/06/21 13:48:04 roberto Exp roberto $ +** $Id: lbaselib.c,v 1.199 2007/10/17 17:26:39 roberto Exp roberto $ ** Basic library ** See Copyright Notice in lua.h */ @@ -209,7 +209,7 @@ static int luaB_collectgarbage (lua_State *L) { return 1; } default: { - lua_pushnumber(L, res); + lua_pushinteger(L, res); return 1; } }