HomeFreeBSD

libalias: Fix -Wcast-align compiler warnings

Description

libalias: Fix -Wcast-align compiler warnings

This fixes -Wcast-align warnings caused by the underaligned struct ip.
This also silences them in the public functions by changing the function
signature from char * to void *. This is source and binary compatible and
avoids the -Wcast-align warning.

Reviewed By: ae, gbe (manpages)
Differential Revision: https://reviews.freebsd.org/D27882

Details

Provenance
arichardsonAuthored on Jan 19 2021, 11:32 AM
donnerCommitted on May 30 2021, 2:31 PM
Reviewer
ae
Differential Revision
D27882: libalias: Fix -Wcast-align compiler warnings
Parents
rGc737affe7cb0: tests/libalias: Reduce stress
Branches
Unknown
Tags
Unknown