Rename Integer to JsonInteger

This commit is contained in:
Benoit Blanchon
2022-12-19 11:46:44 +01:00
parent 8228aec74b
commit 652d70fe2c
12 changed files with 22 additions and 22 deletions

View File

@ -71,9 +71,9 @@ inline bool parseNumber(const char* s, VariantData& result) {
if (*s == '\0') {
if (is_negative) {
const mantissa_t sintMantissaMax = mantissa_t(1)
<< (sizeof(Integer) * 8 - 1);
<< (sizeof(JsonInteger) * 8 - 1);
if (mantissa <= sintMantissaMax) {
result.setInteger(Integer(~mantissa + 1));
result.setInteger(JsonInteger(~mantissa + 1));
return true;
}
} else {