From 6316a866a3aa55f90c44553542a552e64b56aa68 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Mon, 6 Feb 2006 16:28:16 -0200 Subject: compiler warning --- llex.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/llex.c b/llex.c index 40eb7654..60f34ed8 100644 --- a/llex.c +++ b/llex.c @@ -1,5 +1,5 @@ /* -** $Id: llex.c,v 2.17 2005/12/22 16:19:56 roberto Exp roberto $ +** $Id: llex.c,v 2.18 2006/01/23 20:06:19 roberto Exp roberto $ ** Lexical Analyzer ** See Copyright Notice in lua.h */ @@ -166,7 +166,7 @@ static int check_next (LexState *ls, const char *set) { static void buffreplace (LexState *ls, char from, char to) { - int n = luaZ_bufflen(ls->buff); + size_t n = luaZ_bufflen(ls->buff); char *p = luaZ_buffer(ls->buff); while (n--) if (p[n] == from) p[n] = to; -- cgit v1.2.3-55-g6feb