diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1994-11-11 12:00:08 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1994-11-11 12:00:08 -0200 |
commit | b8996eaabad0ef09dca743ca0bdf8c439f678611 (patch) | |
tree | 31bd184aeba9d8967720ee3c42d11dedaabeec39 | |
parent | ff7f7694548a210cd41458538ebd4bd7bb817ddf (diff) | |
download | lua-b8996eaabad0ef09dca743ca0bdf8c439f678611.tar.gz lua-b8996eaabad0ef09dca743ca0bdf8c439f678611.tar.bz2 lua-b8996eaabad0ef09dca743ca0bdf8c439f678611.zip |
small corrections to avoid 'warings' with acc
-rw-r--r-- | table.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -3,7 +3,7 @@ | |||
3 | ** Module to control static tables | 3 | ** Module to control static tables |
4 | */ | 4 | */ |
5 | 5 | ||
6 | char *rcs_table="$Id: table.c,v 2.14 1994/11/09 18:11:47 roberto Exp roberto $"; | 6 | char *rcs_table="$Id: table.c,v 2.15 1994/11/10 20:41:37 roberto Exp roberto $"; |
7 | 7 | ||
8 | #include <stdlib.h> | 8 | #include <stdlib.h> |
9 | #include <string.h> | 9 | #include <string.h> |
@@ -149,7 +149,7 @@ int lua_findconstant (char *s) | |||
149 | */ | 149 | */ |
150 | void lua_travsymbol (void (*fn)(Object *)) | 150 | void lua_travsymbol (void (*fn)(Object *)) |
151 | { | 151 | { |
152 | int i; | 152 | Word i; |
153 | for (i=0; i<lua_ntable; i++) | 153 | for (i=0; i<lua_ntable; i++) |
154 | fn(&s_object(i)); | 154 | fn(&s_object(i)); |
155 | } | 155 | } |
@@ -188,7 +188,7 @@ void lua_pack (void) | |||
188 | lua_hashcollector(); | 188 | lua_hashcollector(); |
189 | 189 | ||
190 | lua_nentity = 0; /* reset counter */ | 190 | lua_nentity = 0; /* reset counter */ |
191 | lua_block=2*lua_block-3*lua_recovered/2; /* adapt block size */ | 191 | lua_block=2*lua_block-3*lua_recovered/2U; /* adapt block size */ |
192 | } | 192 | } |
193 | 193 | ||
194 | 194 | ||