From owner-cvs-all@FreeBSD.ORG Fri Jun 18 13:21:46 2004 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B0D3516A4CE; Fri, 18 Jun 2004 13:21:46 +0000 (GMT) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.185]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6BEF143D46; Fri, 18 Jun 2004 13:21:46 +0000 (GMT) (envelope-from max@love2party.net) Received: from [212.227.126.179] (helo=mrelayng.kundenserver.de) by moutng.kundenserver.de with esmtp (Exim 3.35 #1) id 1BbJI5-0004jc-00; Fri, 18 Jun 2004 15:20:21 +0200 Received: from [217.83.1.198] (helo=donor.laier.local) by mrelayng.kundenserver.de with asmtp (TLSv1:RC4-MD5:128) (Exim 3.35 #1) id 1BbJI5-0003E1-00; Fri, 18 Jun 2004 15:20:21 +0200 From: Max Laier To: des@des.no (Dag-Erling =?iso-8859-1?q?Sm=F8rgrav?=) Date: Fri, 18 Jun 2004 15:21:18 +0200 User-Agent: KMail/1.6.2 References: <200406171523.i5HFNpjs011498@repoman.freebsd.org> In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="Boundary-02=_Vxu0A4qAgmaq+Pg"; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200406181521.25729.max@love2party.net> X-Provags-ID: kundenserver.de abuse@kundenserver.de auth:e28873fbe4dbe612ce62ab869898ff08 cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/contrib/pf/pfctl pfctl_parser.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Jun 2004 13:21:46 -0000 --Boundary-02=_Vxu0A4qAgmaq+Pg Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Friday 18 June 2004 15:09, Dag-Erling Sm=F8rgrav wrote: > Max Laier writes: > > Log: > > Fix printing of u_int64_t with a cast to unsigned long long. > > The correct fix is to cast it to uintmax_t and print it with %ju. Well, this is another correct fix. I chose casting to (unsigned long long) = as=20 this can be fed back to OpenBSD where there is no C99 and hence no uintmax_= t=20 or %ju. Please note that this is code in a vendor branch and it is my conce= rn=20 to keep the diffsize down. I cannot see any bad consequences in my fix, but maybe I overlooked somethi= ng.=20 In latter case, please tell me. =2D-=20 Best regards, | mlaier@freebsd.org Max Laier | ICQ #67774661 http://pf4freebsd.love2party.net/ | mlaier@EFnet --Boundary-02=_Vxu0A4qAgmaq+Pg Content-Type: application/pgp-signature Content-Description: signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQBA0uxVXyyEoT62BG0RAkI+AJ96NFWGqE3tz5xxQU/UMFJPOxegJwCffcsp DCTqHxDwn0yCw9+DFAhFq1w= =8Znt -----END PGP SIGNATURE----- --Boundary-02=_Vxu0A4qAgmaq+Pg--