From fd5e810e0858162a2b11229db4f17dca489c9d41 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Fri, 15 Jul 2011 09:35:32 -0300 Subject: macro 'char2int' replaced by 'cast_uchar' (used by other files) --- lzio.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lzio.c') diff --git a/lzio.c b/lzio.c index a2720333..c9011c09 100644 --- a/lzio.c +++ b/lzio.c @@ -1,5 +1,5 @@ /* -** $Id: lzio.c,v 1.32 2011/02/17 17:34:16 roberto Exp roberto $ +** $Id: lzio.c,v 1.33 2011/02/23 13:13:10 roberto Exp roberto $ ** a generic input stream interface ** See Copyright Notice in lua.h */ @@ -29,7 +29,7 @@ int luaZ_fill (ZIO *z) { return EOZ; z->n = size - 1; /* discount char being returned */ z->p = buff; - return char2int(*(z->p++)); + return cast_uchar(*(z->p++)); } -- cgit v1.2.3-55-g6feb