Are you saying that "2" being shifted is by-default (C spec) 16 bit (int type), not UInt32?
Max --- John Marshall <[EMAIL PROTECTED]> wrote: > 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/ __________________________________________________ Do You Yahoo!? Send FREE video emails in Yahoo! Mail! http://promo.yahoo.com/videomail/ -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/
