diff options
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++) { |