HomeFreeBSD

ipfilter: Cast uintmax_t values to size_t when adding to a pointer.

Description

ipfilter: Cast uintmax_t values to size_t when adding to a pointer.

GCC warns about the mismatched sizes on 32-bit platforms where
uintmax_t is larger in size than a pointer.

Reviewed by: imp, cy
Differential Revision: https://reviews.freebsd.org/D36753

Details

Provenance
jhbAuthored on Sep 28 2022, 8:58 PM
Reviewer
imp
Differential Revision
D36753: ipfilter: Cast uintmax_t values to size_t when adding to a pointer.
Parents
rGc5eed4146fc9: Fix various places which cast a pointer to a uint64_t or vice versa.
Branches
Unknown
Tags
Unknown