aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2007-10-25 17:31:05 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2007-10-25 17:31:05 -0200
commit2fa476655fb1a733bcf8c408f14103bd7abed1b8 (patch)
treed28405b7a786f0342edbe163a3bcb75df23ba265
parent7a78495f3136c958acd39006e6d2f00d974c4626 (diff)
downloadlua-2fa476655fb1a733bcf8c408f14103bd7abed1b8.tar.gz
lua-2fa476655fb1a733bcf8c408f14103bd7abed1b8.tar.bz2
lua-2fa476655fb1a733bcf8c408f14103bd7abed1b8.zip
detail
-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 }