aboutsummaryrefslogtreecommitdiff
path: root/liolib.c
diff options
context:
space:
mode:
Diffstat (limited to 'liolib.c')
-rw-r--r--liolib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/liolib.c b/liolib.c
index 8db4e761..c1d2a455 100644
--- a/liolib.c
+++ b/liolib.c
@@ -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
610static void openwithtags (void) { 610static 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++) {