fix(PVS/V564): the '|' operator is applied to bool type value

This commit is contained in:
dundargoc authored and dundargoc committed 2023-11-11 23:58:50 +01:00
1 parent 128e194f64
commit 592e4472da
1 file changed
+1 -1
+1 -1
View File
@@ -77,7 +77,7 @@ static void mpack_uint(char **buf, uint32_t val)
static void mpack_bool(char **buf, bool val)
{
mpack_w(buf, 0xc2 | val);
mpack_w(buf, 0xc2 | (val ? 1 : 0));
}
static void mpack_array(char **buf, uint32_t len)