From 419f6f892511d72e9d1ee04e5a633884282cda85 Mon Sep 17 00:00:00 2001 From: KubaPro010 Date: Mon, 24 Mar 2025 21:44:23 +0100 Subject: [PATCH] set a explicit type --- src/lib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.c b/src/lib.c index f09a3f9..62dcd1f 100644 --- a/src/lib.c +++ b/src/lib.c @@ -28,7 +28,7 @@ void add_checkwords(uint16_t *blocks, uint8_t *bits, uint8_t stream) { uint16_t offset_word; bool group_type_b = IS_TYPE_B(blocks); - bool rds2_tunneling = ((blocks[0] & 0xFE00)^1 && (stream != 0)); + bool rds2_tunneling = (((bool)(blocks[0] & 0xFE00))^1 && (stream != 0)); for (uint8_t i = 0; i < GROUP_LENGTH; i++) { offset_word = offset_words[i];