aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lbaselib.c4
1 files 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 @@
1/* 1/*
2** $Id: lbaselib.c,v 1.198 2007/06/21 13:48:04 roberto Exp roberto $ 2** $Id: lbaselib.c,v 1.199 2007/10/17 17:26:39 roberto Exp roberto $
3** Basic library 3** Basic library
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -209,7 +209,7 @@ static int luaB_collectgarbage (lua_State *L) {
209 return 1; 209 return 1;
210 } 210 }
211 default: { 211 default: {
212 lua_pushnumber(L, res); 212 lua_pushinteger(L, res);
213 return 1; 213 return 1;
214 } 214 }
215 } 215 }