aboutsummaryrefslogtreecommitdiff
path: root/llex.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2018-01-28 13:13:26 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2018-01-28 13:13:26 -0200
commite2b15aa21d2f31ccc93e35f50928e26a8d9c84ce (patch)
tree0c8fe009fffa187be71ea3e268daf1a6e29d6d9a /llex.c
parent89110986d7a9e81960261ae682780d5fd06dc4ac (diff)
downloadlua-e2b15aa21d2f31ccc93e35f50928e26a8d9c84ce.tar.gz
lua-e2b15aa21d2f31ccc93e35f50928e26a8d9c84ce.tar.bz2
lua-e2b15aa21d2f31ccc93e35f50928e26a8d9c84ce.zip
janitor work on 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 eaa400fa..be775146 100644
--- a/llex.c
+++ b/llex.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: llex.c,v 2.97 2017/06/09 16:48:44 roberto Exp roberto $ 2** $Id: llex.c,v 2.98 2017/06/29 15:06:44 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*/
@@ -63,7 +63,7 @@ static void save (LexState *ls, int c) {
63 newsize = luaZ_sizebuffer(b) * 2; 63 newsize = luaZ_sizebuffer(b) * 2;
64 luaZ_resizebuffer(ls->L, b, newsize); 64 luaZ_resizebuffer(ls->L, b, newsize);
65 } 65 }
66 b->buffer[luaZ_bufflen(b)++] = cast(char, c); 66 b->buffer[luaZ_bufflen(b)++] = cast_char(c);
67} 67}
68 68
69 69