What is the concensus for using typedef'd types when storing preferences?

Would you do this:

struct AppPrefsStruct
{
    UInt optionOne;
    ULong optionTwo;
    Boolean switchOne;
};

Or this:

struct AppPrefsStruct
{
    unsigned short optionOne;
    unsigned long optionTwo;
    unsigned char switchOne;
};

I don't want to worry about a new version of my program fail to load
preferences because of a compiler change down the road changing the size of
the structure.

Am I off base even worrying about it?

Tom Welch
[EMAIL PROTECTED]



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palm.com/devzone/mailinglists.html

Reply via email to