diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1999-11-09 15:59:35 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1999-11-09 15:59:35 -0200 |
commit | a7fa7bafc808103cbb8e27a3c80168617bac8a4f (patch) | |
tree | 2f87488fa77d88ad695bacf695d90eab96ded076 /liolib.c | |
parent | cde179b36979c58d9380d3c4dd29b61412d13b51 (diff) | |
download | lua-a7fa7bafc808103cbb8e27a3c80168617bac8a4f.tar.gz lua-a7fa7bafc808103cbb8e27a3c80168617bac8a4f.tar.bz2 lua-a7fa7bafc808103cbb8e27a3c80168617bac8a4f.zip |
new warnings with option "-W" (gcc)
Diffstat (limited to 'liolib.c')
-rw-r--r-- | liolib.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: liolib.c,v 1.48 1999/10/19 13:33:22 roberto Exp roberto $ | 2 | ** $Id: liolib.c,v 1.49 1999/10/26 11:00:12 roberto Exp roberto $ |
3 | ** Standard I/O (and system) library | 3 | ** Standard I/O (and system) library |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -608,7 +608,7 @@ static const struct luaL_reg iolibtag[] = { | |||
608 | 608 | ||
609 | 609 | ||
610 | static void openwithtags (void) { | 610 | static void openwithtags (void) { |
611 | int i; | 611 | unsigned int i; |
612 | int iotag = lua_newtag(); | 612 | int iotag = lua_newtag(); |
613 | lua_newtag(); /* alloc CLOSEDTAG: assume that CLOSEDTAG = iotag-1 */ | 613 | lua_newtag(); /* alloc CLOSEDTAG: assume that CLOSEDTAG = iotag-1 */ |
614 | for (i=0; i<sizeof(iolibtag)/sizeof(iolibtag[0]); i++) { | 614 | for (i=0; i<sizeof(iolibtag)/sizeof(iolibtag[0]); i++) { |