style cleanup.

This commit is contained in:
IRainman 2025-04-08 04:06:30 +03:00
parent 5c610807de
commit 27f02654fe

View File

@ -367,7 +367,7 @@ parse_number_string(UC const *p, UC const *pend,
i = i * 10 + digit; // in rare cases, this will overflow, but that's ok i = i * 10 + digit; // in rare cases, this will overflow, but that's ok
++p; ++p;
} }
exponent = static_cast<int16_t>(before - p); exponent = int16_t(before - p);
answer.fraction = span<UC const>(before, size_t(p - before)); answer.fraction = span<UC const>(before, size_t(p - before));
digit_count -= exponent; digit_count -= exponent;
} }