History

Fix warning

Anon committed 7 months ago

Commit 7b92d2d1 parent 169628a1 file · +2 −1Browse files

Unified · Split

tccpp.c+2−1
@@ -2500,12 +2500,13 @@ static void parse_number(const char *p) · 2499 unmodified lines
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

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t