Fix readFractionalPart never shifting characters

This commit is contained in:
ISSOtm
2020-08-18 13:31:59 +02:00
parent f7b7a97407
commit 615f1072d9

View File

@@ -948,6 +948,7 @@ static void readFractionalPart(void)
if (c < '0' || c > '9')
break;
shiftChars(1);
if (divisor > (UINT32_MAX - (c - '0')) / 10) {
warning(WARNING_LARGE_CONSTANT,
"Precision of fixed-point constant is too large\n");