On Tue, Dec 27, 2005 at 11:05:15AM -0500, John Baldwin wrote:
> On Tuesday 27 December 2005 07:33 am, Stefan Farfeleder wrote:
> > stefanf     2005-12-27 12:33:18 UTC
> >
> >   FreeBSD src repository
> >
> >   Modified files:
> >     sys/netatm           atm_sys.h
> >   Log:
> >   Try to unbreak the tinderbox: Cast a time_t argument to long before
> > printing it with %ld.
> 
> You should probably use intmax_t and %j instead.  On an i386 with a 64-bit 
> time_t, time_t doesn't fit into a long.  If time_t were 64-bit on powerpc 
> you'd have the same problem there as well.

It's the difference between two time_ts.  I pondered using intmax_t but
thought it's fair to assume it fits into 32 bits.  Feel free to change
it though.

Stefan
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to