Le 23/04/13 10:58, kzelec...@e3tech.local a écrit :
The problem is that LOBYTE makes FIRST a cast to BYTE with
(BYTE) 0x400
This is wrong since the value doesn't fit into a byte (0-255) The
warning is correct. Then, the LOBYTE macro makes a & 0xff.
To avoid this warning do:
#undef LOBYTE
#define LOBYTE(x) (x&0xff)