summaryrefslogtreecommitdiff
path: root/src/lzio.c
diff options
context:
space:
mode:
authorLua Team <team@lua.org>2011-11-24 12:00:00 +0000
committerrepogen <>2011-11-24 12:00:00 +0000
commit2e5ae8240bb2daf5d66d69e199de10dde62f5d13 (patch)
treeb9f21bdd5006c59adc99000afa3cf22da8ea1c57 /src/lzio.c
parentc17c598e967843fa77a465caf0e0df15d9019409 (diff)
downloadlua-github-5.2.0-rc1.tar.gz
Lua 5.2.0-rc15.2.0-rc1
Diffstat (limited to 'src/lzio.c')
-rw-r--r--src/lzio.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lzio.c b/src/lzio.c
index 7d2677bd..354f94e7 100644
--- a/src/lzio.c
+++ b/src/lzio.c
@@ -1,5 +1,5 @@
/*
-** $Id: lzio.c,v 1.33 2011/02/23 13:13:10 roberto Exp $
+** $Id: lzio.c,v 1.34 2011/07/15 12:35:32 roberto Exp $
** 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++));
}