diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2005-12-22 14:19:56 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2005-12-22 14:19:56 -0200 |
commit | c505f341d638f8f0adcef4df85bcc8def6c930a3 (patch) | |
tree | bfa689a7545e47cfd154066cd8d962daa6bc611e /llex.c | |
parent | 428325baecb2f514ea3eb6c87405f93872fb8430 (diff) | |
download | lua-github-c505f341d638f8f0adcef4df85bcc8def6c930a3.tar.gz |
small changes in casts
Diffstat (limited to 'llex.c')
-rw-r--r-- | llex.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ /* -** $Id: llex.c,v 2.15 2005/12/07 15:43:05 roberto Exp roberto $ +** $Id: llex.c,v 2.16 2005/12/08 15:50:54 roberto Exp roberto $ ** Lexical Analyzer ** See Copyright Notice in lua.h */ @@ -66,7 +66,7 @@ void luaX_init (lua_State *L) { TString *ts = luaS_new(L, luaX_tokens[i]); luaS_fix(ts); /* reserved words are never collected */ lua_assert(strlen(luaX_tokens[i])+1 <= TOKEN_LEN); - ts->tsv.reserved = cast(lu_byte, i+1); /* reserved word */ + ts->tsv.reserved = cast_byte(i+1); /* reserved word */ } } |