Hi Graham, > Why not use the HOST_UNIT macro instead of these casts Because HOST_UNIT is only for constants, and will not work on arbitrary expressions. (Check out the appending of 'UL' in __STDC__ mode.) Cheers Nick