HomeFreeBSD

Require uint32_t alignment for ipfw_insn

Description

Require uint32_t alignment for ipfw_insn

There are many casts of this struct to uint32_t, so we also need to ensure
that it is sufficiently aligned to safely perform this cast on architectures
that don't allow unaligned accesses. This fixes lots of -Wcast-align warnings.

Reviewed By: ae
Differential Revision: https://reviews.freebsd.org/D27879

Details

Provenance
arichardsonAuthored on Jan 19 2021, 11:32 AM
Reviewer
ae
Differential Revision
D27879: Require uint32_t alignment for ipfw_insn
Parents
rGbe5972695f50: libalias: Fix remaining compiler warnings
Branches
Unknown
Tags
Unknown