> That macro was defined for PNO ARM code which has 32-bit ints.

Hmm, perhaps the documentation really ought to give a hint that this macro 
should be used ONLY in environments where "unsigned char" is 32-bit, or it 
SIMPLY DOESN'T WORK. As it is, the documentation says that the macro "is 
useful" when writing PNOs; it doesn't say clearly that it doesn't work at all 
for other purposes.

Besides, why not change it the way I suggested? In environments where "unsigned 
char" is 32-bit, the additional typecasts will do nothing (meaning, won't 
generate any code and won't cause any slowdowns) and on the remaining 
environments they will make the macro actually work.

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

Reply via email to