fix undefined LONG_LONG_MAX compilation error

master
Serge Paquet 2016-02-11 22:13:54 -05:00
parent 2dc4ac0e21
commit 633b01de23
1 changed files with 1 additions and 1 deletions

View File

@ -438,7 +438,7 @@ static void parse_number_literal(ParseContext *pc, Token *token, AstNodeNumberLi
unsigned long long specified_exponent = parse_int_digits(pc, exponent_start, exponent_end,
10, -1, &num_lit->overflow);
// TODO: this check is a little silly
if (specified_exponent >= LONG_LONG_MAX) {
if (specified_exponent >= LLONG_MAX) {
num_lit->overflow = true;
return;
}