forked from bblanchon/ArduinoJson
Fixed "pointless integer comparison" warning on IAR (issue #1233)
This commit is contained in:
@ -125,7 +125,13 @@ class MsgPackSerializer {
|
||||
} else if (value <= 0xFFFF) {
|
||||
writeByte(0xCD);
|
||||
writeInteger(uint16_t(value));
|
||||
} else if (value <= 0xFFFFFFFF) {
|
||||
}
|
||||
#if ARDUINOJSON_USE_LONG_LONG
|
||||
else if (value <= 0xFFFFFFFF)
|
||||
#else
|
||||
else
|
||||
#endif
|
||||
{
|
||||
writeByte(0xCE);
|
||||
writeInteger(uint32_t(value));
|
||||
}
|
||||
|
Reference in New Issue
Block a user