aboutsummaryrefslogtreecommitdiff
path: root/llex.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2005-12-22 14:19:56 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2005-12-22 14:19:56 -0200
commitc505f341d638f8f0adcef4df85bcc8def6c930a3 (patch)
treebfa689a7545e47cfd154066cd8d962daa6bc611e /llex.c
parent428325baecb2f514ea3eb6c87405f93872fb8430 (diff)
downloadlua-c505f341d638f8f0adcef4df85bcc8def6c930a3.tar.gz
lua-c505f341d638f8f0adcef4df85bcc8def6c930a3.tar.bz2
lua-c505f341d638f8f0adcef4df85bcc8def6c930a3.zip
small changes in casts
Diffstat (limited to 'llex.c')
-rw-r--r--llex.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/llex.c b/llex.c
index c4d185db..51882814 100644
--- a/llex.c
+++ b/llex.c
@@ -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