Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Aug 2021 18:00:38 +0200
From:      Kristof Provost <kp@FreeBSD.org>
To:        Dimitry Andric <dim@FreeBSD.org>
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
Message-ID:  <6A084192-562D-404D-9833-51A708FA1BC0@FreeBSD.org>
In-Reply-To: <202108291531.17TFVoah033310@gitrepo.freebsd.org>
References:  <202108291531.17TFVoah033310@gitrepo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help


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 <dim@FreeBSD.org>
> AuthorDate: 2021-08-29 15:31:28 +0000
> Commit:     Dimitry Andric <dim@FreeBSD.org>
> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6A084192-562D-404D-9833-51A708FA1BC0>