> This assumes that WORD is 2 bytes. This is not true on arm - it is 4 > bytes. WORD needs to be defined to be 2 bytes, or uint_16 used instead > of WORD throughout.
Wrong. WORD is a typedef for uint16_t, which is 2 bytes. This is a gcc bug, pragma pack(1) doesn't. See #394703 Paul -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]