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-c505f341d638f8f0adcef4df85bcc8def6c930a3.tar.gz lua-c505f341d638f8f0adcef4df85bcc8def6c930a3.tar.bz2 lua-c505f341d638f8f0adcef4df85bcc8def6c930a3.zip |
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 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: llex.c,v 2.15 2005/12/07 15:43:05 roberto Exp roberto $ | 2 | ** $Id: llex.c,v 2.16 2005/12/08 15:50:54 roberto Exp roberto $ |
3 | ** Lexical Analyzer | 3 | ** Lexical Analyzer |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -66,7 +66,7 @@ void luaX_init (lua_State *L) { | |||
66 | TString *ts = luaS_new(L, luaX_tokens[i]); | 66 | TString *ts = luaS_new(L, luaX_tokens[i]); |
67 | luaS_fix(ts); /* reserved words are never collected */ | 67 | luaS_fix(ts); /* reserved words are never collected */ |
68 | lua_assert(strlen(luaX_tokens[i])+1 <= TOKEN_LEN); | 68 | lua_assert(strlen(luaX_tokens[i])+1 <= TOKEN_LEN); |
69 | ts->tsv.reserved = cast(lu_byte, i+1); /* reserved word */ | 69 | ts->tsv.reserved = cast_byte(i+1); /* reserved word */ |
70 | } | 70 | } |
71 | } | 71 | } |
72 | 72 | ||