On Sun, Jan 20, 2002 at 11:03:19AM -0800, Jonathan Lawlor wrote: > The following code generates the warning message in the posting title: > > const UInt32 test_2_18 = (2<<18); > > sizeof(UInt32) = 4 > #define bitsInByte 8 // From PalmTypes.h
And (bitsInByte * sizeof 2) == 16, which is indeed less than 18.
John
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/
