From 1d99a7360beaf1a50a3739413b1ad6ed4b71491d Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Wed, 24 Nov 2004 17:16:03 -0200 Subject: details --- llex.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'llex.c') diff --git a/llex.c b/llex.c index 71b52510..2b9ec68c 100644 --- a/llex.c +++ b/llex.c @@ -1,5 +1,5 @@ /* -** $Id: llex.c,v 2.3 2004/04/30 20:13:38 roberto Exp roberto $ +** $Id: llex.c,v 2.4 2004/09/22 14:02:00 roberto Exp roberto $ ** Lexical Analyzer ** See Copyright Notice in lua.h */ @@ -64,7 +64,7 @@ void luaX_init (lua_State *L) { const char *luaX_token2str (LexState *ls, int token) { if (token < FIRST_RESERVED) { - lua_assert(token == (unsigned char)token); + lua_assert(token == cast(unsigned char, token)); return (iscntrl(token)) ? luaO_pushfstring(ls->L, "char(%d)", token) : luaO_pushfstring(ls->L, "%c", token); } -- cgit v1.2.3-55-g6feb