From owner-cvs-src@FreeBSD.ORG Tue Dec 27 16:24:58 2005 Return-Path: X-Original-To: cvs-src@freebsd.org Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C895416A41F; Tue, 27 Dec 2005 16:24:58 +0000 (GMT) (envelope-from stefan@fafoe.narf.at) Received: from viefep13-int.chello.at (viefep13-int.chello.at [213.46.255.15]) by mx1.FreeBSD.org (Postfix) with ESMTP id 685A043D73; Tue, 27 Dec 2005 16:24:25 +0000 (GMT) (envelope-from stefan@fafoe.narf.at) Received: from wombat.fafoe.narf.at ([213.47.85.26]) by viefep13-int.chello.at (InterMail vM.6.01.04.04 201-2131-118-104-20050224) with ESMTP id <20051227162415.PNLA2372.viefep13-int.chello.at@wombat.fafoe.narf.at>; Tue, 27 Dec 2005 17:24:15 +0100 Received: by wombat.fafoe.narf.at (Postfix, from userid 1001) id 0261DBEAC; Tue, 27 Dec 2005 17:24:14 +0100 (CET) Date: Tue, 27 Dec 2005 17:24:14 +0100 From: Stefan Farfeleder To: John Baldwin Message-ID: <20051227162414.GK63814@wombat.fafoe.narf.at> References: <200512271233.jBRCXIgp017054@repoman.freebsd.org> <200512271105.17467.jhb@freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200512271105.17467.jhb@freebsd.org> User-Agent: Mutt/1.5.11 Cc: cvs-src@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org Subject: Re: cvs commit: src/sys/netatm atm_sys.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Dec 2005 16:24:59 -0000 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