diff options
author | Mike Pall <mike> | 2010-10-23 15:28:28 +0200 |
---|---|---|
committer | Mike Pall <mike> | 2010-10-23 15:28:28 +0200 |
commit | 02dc9d1082738bb75450ef6dbf4e0bf32a1553db (patch) | |
tree | d6d576bbb9f5a2383a0ab35cffc7aa46460fd7fc /src | |
parent | 65dec38e44b4d5cb5f834cd4c06bf9a79ab4a92a (diff) | |
download | luajit-02dc9d1082738bb75450ef6dbf4e0bf32a1553db.tar.gz luajit-02dc9d1082738bb75450ef6dbf4e0bf32a1553db.tar.bz2 luajit-02dc9d1082738bb75450ef6dbf4e0bf32a1553db.zip |
Avoid compiler warning.
Diffstat (limited to 'src')
-rw-r--r-- | src/lj_lex.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lj_lex.c b/src/lj_lex.c index a808b88d..78c333b0 100644 --- a/src/lj_lex.c +++ b/src/lj_lex.c | |||
@@ -173,7 +173,7 @@ static void read_string(LexState *ls, int delim, TValue *tv) | |||
173 | c = 10*c + (ls->current-'0'); | 173 | c = 10*c + (ls->current-'0'); |
174 | next(ls); | 174 | next(ls); |
175 | } while (++i<3 && lj_ctype_isdigit(ls->current)); | 175 | } while (++i<3 && lj_ctype_isdigit(ls->current)); |
176 | if (c > UCHAR_MAX) | 176 | if (c > 255) |
177 | lj_lex_error(ls, TK_string, LJ_ERR_XESC); | 177 | lj_lex_error(ls, TK_string, LJ_ERR_XESC); |
178 | save(ls, c); | 178 | save(ls, c); |
179 | } | 179 | } |