[PATCH v3] vhost: fix build issues with GCC 12
Stephen Hemminger
stephen at networkplumber.org
Thu Oct 6 02:01:43 CEST 2022
On Wed, 5 Oct 2022 22:35:24 +0200
Maxime Coquelin <maxime.coquelin at redhat.com> wrote:
> In practice, it would never happen since 'pkt->pkt_len' is
> unlikely to be close to UINT32_MAX, but let's just change
> 'size' to uint64_t to make the compiler happy without
> having to add runtime checks.
Would the standard typedef size_t work since that is what sizeof() returns.
More information about the stable
mailing list