Hi all,

I am creating some library on two platforms one in windows and other on Palm 
OS. I am using codewarrior 9.00 for my development.
I noticed that the value of "pi" is different on Palm and windows platform

Int32 var[32];
Int32 pi = var;
unsigned char str = "aaaaaaaaaa";
unsigned char pc = str;

*pi = (unsigned char)*(pc++) << 24;

The value of pi is different on different platform, why is it 
so 

Thanks

John

-- 
For information on using the PalmSource Developer Forums, or to unsubscribe, 
please see http://www.palmos.com/dev/support/forums/

Reply via email to