I know that bitwise operations must be done only with unsigned integers and static analyzers warn me about this.
What is a good practice to #define bitwise macros flags? I saw these two ways till now:
#define MACRO_FLAG1 (1U << 0U)
#define MACRO_FLAG2 (unsigned int)(1 << 1)