From 4590a89b32b62c75fca7ced96c282c7793b8885c Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Mon, 25 Oct 2010 17:01:37 -0200 Subject: corrected warnings from different compilers (mostly casts and small details) --- lgc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lgc.c') diff --git a/lgc.c b/lgc.c index beccc1a6..f7072ab7 100644 --- a/lgc.c +++ b/lgc.c @@ -1,5 +1,5 @@ /* -** $Id: lgc.c,v 2.101 2010/06/30 14:11:17 roberto Exp roberto $ +** $Id: lgc.c,v 2.102 2010/09/03 14:14:01 roberto Exp roberto $ ** Garbage Collector ** See Copyright Notice in lua.h */ @@ -449,7 +449,7 @@ static int traverseproto (global_State *g, Proto *f) { } -static l_mem traverseclosure (global_State *g, Closure *cl) { +static int traverseclosure (global_State *g, Closure *cl) { if (cl->c.isC) { int i; for (i=0; ic.nupvalues; i++) /* mark its upvalues */ -- cgit v1.2.3-55-g6feb