Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Dec 2005 11:05:15 -0500
From:      John Baldwin <jhb@freebsd.org>
To:        Stefan Farfeleder <stefanf@freebsd.org>
Cc:        cvs-src@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org
Subject:   Re: cvs commit: src/sys/netatm atm_sys.h
Message-ID:  <200512271105.17467.jhb@freebsd.org>
In-Reply-To: <200512271233.jBRCXIgp017054@repoman.freebsd.org>
References:  <200512271233.jBRCXIgp017054@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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@FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve"  =  http://www.FreeBSD.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200512271105.17467.jhb>