From a7fa7bafc808103cbb8e27a3c80168617bac8a4f Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Tue, 9 Nov 1999 15:59:35 -0200 Subject: new warnings with option "-W" (gcc) --- liolib.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'liolib.c') diff --git a/liolib.c b/liolib.c index 8db4e761..c1d2a455 100644 --- a/liolib.c +++ b/liolib.c @@ -1,5 +1,5 @@ /* -** $Id: liolib.c,v 1.48 1999/10/19 13:33:22 roberto Exp roberto $ +** $Id: liolib.c,v 1.49 1999/10/26 11:00:12 roberto Exp roberto $ ** Standard I/O (and system) library ** See Copyright Notice in lua.h */ @@ -608,7 +608,7 @@ static const struct luaL_reg iolibtag[] = { static void openwithtags (void) { - int i; + unsigned int i; int iotag = lua_newtag(); lua_newtag(); /* alloc CLOSEDTAG: assume that CLOSEDTAG = iotag-1 */ for (i=0; i