%d or %ld for datatype int?

Eljay Love-Jensen eljay@adobe.com
Mon Dec 22 20:50:00 GMT 2003


Hi Rich,

Try this:
printf (  "%ld seconds into the epoch\n", (long int)now.tv_sec );

HTH,
--Eljay




More information about the Gcc-help mailing list