We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4627f85 commit 40d1cfeCopy full SHA for 40d1cfe
CHANGELOG.md
@@ -6,6 +6,7 @@ HEAD
6
7
* Fixed "maybe-uninitialized" warning (issue #1217)
8
* Fixed "statement is unreachable" warning on IAR (issue #1233)
9
+* Fixed "pointless integer comparison" warning on IAR (issue #1233)
10
11
v6.15.0 (2020-03-22)
12
-------
src/ArduinoJson/MsgPack/MsgPackSerializer.hpp
@@ -125,7 +125,13 @@ class MsgPackSerializer {
125
} else if (value <= 0xFFFF) {
126
writeByte(0xCD);
127
writeInteger(uint16_t(value));
128
- } else if (value <= 0xFFFFFFFF) {
+ }
129
+#if ARDUINOJSON_USE_LONG_LONG
130
+ else if (value <= 0xFFFFFFFF)
131
+#else
132
+ else
133
+#endif
134
+ {
135
writeByte(0xCE);
136
writeInteger(uint32_t(value));
137
}
0 commit comments