18 Dec
2005
18 Dec
'05
7 p.m.
On 12/16/05 2:03 PM, "Clarke, Trevor"
It's not a mask to stop data loss but to tell VS you want the data loss. I.E.
unsigned short a = 0x1234; return (a << 8) & 0xffff; [TRUNCATE past message context]
That mask retains 100% of the bits (if a "short" is 16 bits), so it effectively does nothing. That's a waste of cycles if the masking isn't optimized away. I don't get how this shuts up the RTC unless this construct was specifically created as a workaround. Could you turn off RTC, especially since C++ (and C) are deliberately non-RTC languages? -- Daryle Walker Mac, Internet, and Video Game Junkie darylew AT hotmail DOT com