You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Validate Checksum format. Byte 7 must be equal to byte 8 inverted.
78
-
if (b[7] == ~b[8]) {
78
+
if (b[7] ==(uint8_t)~b[8]) {
79
79
decoder_logf(decoder, 2, __func__, "Checksum byte 7 is supposed to be equal to byte 8 inverted. Actual: %02x vs %02x (inverted %02x)", b[7], b[8], ~b[8]);
0 commit comments