From owner-cvs-all Fri Nov 16 16:22:56 2001 Delivered-To: cvs-all@freebsd.org Received: from peter3.wemm.org (c1315225-a.plstn1.sfba.home.com [24.14.150.180]) by hub.freebsd.org (Postfix) with ESMTP id 9A6D937B416; Fri, 16 Nov 2001 16:22:50 -0800 (PST) Received: from overcee.netplex.com.au (overcee.wemm.org [10.0.0.3]) by peter3.wemm.org (8.11.0/8.11.0) with ESMTP id fAH0MoM29544; Fri, 16 Nov 2001 16:22:50 -0800 (PST) (envelope-from peter@wemm.org) Received: from wemm.org (localhost [127.0.0.1]) by overcee.netplex.com.au (Postfix) with ESMTP id 274313811; Fri, 16 Nov 2001 16:22:50 -0800 (PST) (envelope-from peter@wemm.org) X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: Alfred Perlstein Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/kern tty.c In-Reply-To: <20011116181729.B13393@elvis.mu.org> Date: Fri, 16 Nov 2001 16:22:50 -0800 From: Peter Wemm Message-Id: <20011117002250.274313811@overcee.netplex.com.au> Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Alfred Perlstein wrote: > * Peter Wemm [011116 17:53] wrote: > > peter 2001/11/16 15:53:48 PST > > > > Modified files: > > sys/kern tty.c > > Log: > > You cannot cast a time_t to quad_t and printf it with %lld. quad_t is > > 64 bits, not long long. > > What can you do? :) either cast to (long long) if you're going to printf with %lld or cast it down to (long) with %ld. In this case I should have done it the other way. Cheers, -Peter -- Peter Wemm - peter@FreeBSD.org; peter@yahoo-inc.com; peter@netplex.com.au "All of this is for nothing if we don't go to the stars" - JMS/B5 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message