lua

A copy of the Lua development repository
Log | Files | Refs | README

commit b8996eaabad0ef09dca743ca0bdf8c439f678611
parent ff7f7694548a210cd41458538ebd4bd7bb817ddf
Author: Roberto Ierusalimschy <roberto@inf.puc-rio.br>
Date:   Fri, 11 Nov 1994 11:59:49 -0200

small corrections to avoid 'warings' with acc

Diffstat:
Mtable.c | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/table.c b/table.c @@ -3,7 +3,7 @@ ** Module to control static tables */ -char *rcs_table="$Id: table.c,v 2.14 1994/11/09 18:11:47 roberto Exp roberto $"; +char *rcs_table="$Id: table.c,v 2.15 1994/11/10 20:41:37 roberto Exp roberto $"; #include <stdlib.h> #include <string.h> @@ -149,7 +149,7 @@ int lua_findconstant (char *s) */ void lua_travsymbol (void (*fn)(Object *)) { - int i; + Word i; for (i=0; i<lua_ntable; i++) fn(&s_object(i)); } @@ -188,7 +188,7 @@ void lua_pack (void) lua_hashcollector(); lua_nentity = 0; /* reset counter */ - lua_block=2*lua_block-3*lua_recovered/2; /* adapt block size */ + lua_block=2*lua_block-3*lua_recovered/2U; /* adapt block size */ }