Skip to content

Commit 7b92d2d

Browse files
author
Anon
committed
Fix warning
1 parent 169628a commit 7b92d2d

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

tccpp.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2500,12 +2500,13 @@ static void parse_number(const char *p)
25002500
if (t >= b)
25012501
tcc_error("invalid digit");
25022502
n = n * b + t;
2503-
if (!ov)
2503+
if (!ov) {
25042504
/* detect overflow */
25052505
if (n1 >= 0x1000000000000000ULL && n / b != n1)
25062506
ov = 1;
25072507
else
25082508
n1 = n;
2509+
}
25092510
}
25102511

25112512
/* Determine the characteristics (unsigned and/or 64bit) the type of

0 commit comments

Comments
 (0)