HomeFreeBSD

Fix a Wvoid-pointer-to-enum-cast warning missed in r359978.

Description

Fix a Wvoid-pointer-to-enum-cast warning missed in r359978.

This pattern is used in callbacks with void * data arguments and seems
both relatively uncommon and relatively harmless. Silence the warning
by casting through uintptr_t.

This warning is on by default in Clang 11.

MFC after: 3 days
Sponsored by: DARPA
Differential Revision: https://reviews.freebsd.org/D24425

Details

Provenance
brooksAuthored on Jul 6 2020, 10:39 PM
Parents
rG4dfc952a8d7c: Fix cleandir target post r362973
Branches
Unknown
Tags
Unknown

Event Timeline