Page MenuHomeFreeBSD

Fix -Wvoid-pointer-to-enum-cast warnings.
ClosedPublic

Authored by brooks on Apr 14 2020, 10:21 PM.

Details

Summary

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

This warning is on by default in Clang 11.

Diff Detail

Repository
rS FreeBSD src repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.