aboutsummaryrefslogtreecommitdiff
path: root/liolib.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>1999-11-09 15:59:35 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>1999-11-09 15:59:35 -0200
commita7fa7bafc808103cbb8e27a3c80168617bac8a4f (patch)
tree2f87488fa77d88ad695bacf695d90eab96ded076 /liolib.c
parentcde179b36979c58d9380d3c4dd29b61412d13b51 (diff)
downloadlua-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.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++) {