HomeFreeBSD

LinuxKPI: 802.11: fix a -Wenum-compare warning

Description

LinuxKPI: 802.11: fix a -Wenum-compare warning

We are asserting that two values from different enums are the same.
gcc warns about these. Cast the values to (int) to avoid the warning.

Sponsored by: The FreeBSD Foundation
MFC after: 3 days

Details

Provenance
bzAuthored on Apr 19 2023, 9:40 PM
Parents
rGb2dcb848688e: LinuxKPI: skbuff.h: fix -Warray-bounds warnings
Branches
Unknown
Tags
Unknown