HomeFreeBSD

ctld: Disable -Wcast-align warnings.

Description

ctld: Disable -Wcast-align warnings.

clang complains about the downcasts from struct connection to struct
ctld_connection as the alignment of struct ctld_connection is higher
on 32-bit platforms. However, the warning is in this case harmless as
the downcasts are on objects originally allocated as instances of
struct ctld_connection with suitable alignment.

Reported by: npn, gjb
Fixes: 6378393308bc Add an internal libiscsiutil library.
Sponsored by: Chelsio Communications

Details

Provenance
jhbAuthored on Dec 22 2021, 11:23 PM
Parents
rGacdc1de369a5: organization.dot: fix a typo
Branches
Unknown
Tags
Unknown