cvs commit: src/sys/netatm atm_sys.h

John Baldwin jhb at freebsd.org
Tue Dec 27 08:16:59 PST 2005


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.

-- 
John Baldwin <jhb at FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve"  =  http://www.FreeBSD.org


More information about the cvs-all mailing list