forked from bblanchon/ArduinoJson
Rename Integer
to JsonInteger
This commit is contained in:
@ -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 {
|
||||
|
Reference in New Issue
Block a user