From owner-dev-commits-src-all@freebsd.org Sun Aug 29 16:00:41 2021 Return-Path: Delivered-To: dev-commits-src-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id DCC2C660C50; Sun, 29 Aug 2021 16:00:41 +0000 (UTC) (envelope-from kp@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4GyJ895ryfz3J2p; Sun, 29 Aug 2021 16:00:41 +0000 (UTC) (envelope-from kp@FreeBSD.org) Received: from venus.codepro.be (venus.codepro.be [5.9.86.228]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mx1.codepro.be", Issuer "R3" (verified OK)) (Authenticated sender: kp) by smtp.freebsd.org (Postfix) with ESMTPSA id 98DBD259AE; Sun, 29 Aug 2021 16:00:41 +0000 (UTC) (envelope-from kp@FreeBSD.org) Received: by venus.codepro.be (Postfix, authenticated sender kp) id C1D0228EAF; Sun, 29 Aug 2021 18:00:39 +0200 (CEST) From: Kristof Provost To: Dimitry Andric Cc: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: Re: git: 5b8f07b12f84 - main - Fix -Wformat errors in pfctl on 32-bit architectures Date: Sun, 29 Aug 2021 18:00:38 +0200 X-Mailer: MailMate (1.14r5818) Message-ID: <6A084192-562D-404D-9833-51A708FA1BC0@FreeBSD.org> In-Reply-To: <202108291531.17TFVoah033310@gitrepo.freebsd.org> References: <202108291531.17TFVoah033310@gitrepo.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable X-BeenThere: dev-commits-src-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commit messages for all branches of the src repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Aug 2021 16:00:41 -0000 On 29 Aug 2021, at 17:31, Dimitry Andric wrote: > The branch main has been updated by dim: > > URL: https://cgit.FreeBSD.org/src/commit/?id=3D5b8f07b12f8477f1679013d6= b3abdab8d33c7243 > > commit 5b8f07b12f8477f1679013d6b3abdab8d33c7243 > Author: Dimitry Andric > AuthorDate: 2021-08-29 15:31:28 +0000 > Commit: Dimitry Andric > CommitDate: 2021-08-29 15:31:28 +0000 > > Fix -Wformat errors in pfctl on 32-bit architectures > > Use PRIu64 to printf(3) uint64_t quantities, otherwise this will re= sult > in "error: format specifies type 'unsigned long' but the argument h= as > type 'uint64_t' (aka 'unsigned long long') [-Werror,-Wformat]" on 3= 2-bit > architectures. > > Fixes: 80078d9d38fd > MFC after: 1 week Thanks! I was running test builds for a fix, but it is so much more convenient wh= en other people fix my mistakes for me. Kristof