Date: Fri, 16 Nov 2001 16:22:50 -0800 From: Peter Wemm <peter@wemm.org> To: Alfred Perlstein <bright@mu.org> Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/kern tty.c Message-ID: <20011117002250.274313811@overcee.netplex.com.au> In-Reply-To: <20011116181729.B13393@elvis.mu.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Alfred Perlstein wrote: > * Peter Wemm <peter@FreeBSD.org> [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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011117002250.274313811>