Hi all, I've got a structure defined in CodeWarrior C++ as:

struct T
{
  UInt32 f1 : 24;
  UInt8  f2;
};

This structure is meant to treat the first three bytes of memory as a unit
and the following byte as another unit inside of a 4 byte word.  sizeof(T)
== 6.  WHY DOESN'T EQUAL 4!!??

Frustrated James.


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

Reply via email to