Hi, i have a code where i defined:
#define FULLMASK 0xFFFFFFFF
#define BITMASK(x) (~(FULLMASK<<x))
If i use an uint8_t variable with value 32 the macro returns 0, but if i write BITMASK(32) the macro returns 0XFFFFFFFF (that is the value that i was expecting).
Any idea why thats happening? I am using Mingw32 with Code Blocks on Windows...