[CR] In _F4() cast complement mask to the type of bit argument

This commit is contained in:
CyrIng
2025-06-21 19:27:41 +02:00
parent 633c8519a6
commit 2ca0adf748

View File

@@ -893,7 +893,7 @@ int CheckDuplicateKey(void) \
#define CHECK_DUPLICATE_KEY(_val)
#endif /* FEAT_DBG */
#define _F4(bit) ((!!((bit) & (~1U))) << 1) | ((bit) & 0b1)
#define _F4(bit) ((!!((bit) & (__typeof__(bit))(~1))) << 1) | ((bit) & 0b1)
#define POWERED(bit) ( (char*[]) { (char*) RSC(MISSING).CODE(), \
(char*) RSC(PRESENT).CODE(), \