freebsd-dev/cddl/contrib
Brooks Davis 2938ecc85c 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
2020-07-06 22:39:42 +00:00
..
opensolaris Fix a Wvoid-pointer-to-enum-cast warning missed in r359978. 2020-07-06 22:39:42 +00:00