> I think you were closer with your second attempt, you just 
> need to tell the compiler to use 32-bit integers.
> 
> gExpiry = TimGetSeconds() + 30 * daysInSeconds;



okay, I looked through the gcc manpage without finding this. I thought:

UInt32 gExpiry;         // PalmTypes.h: unsigned long

meant "use unsigned 32 bit integers", and for something like unix
seconds I really,
really meant it. What do I have to do get 32-bit integers ?

thanks,

David M


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

Reply via email to