HomeFreeBSD

pctrie: avoid typecast

Description

pctrie: avoid typecast

Have PCTRIE_RECLAIM_CALLBACK typecast one function pointer type to
another, to relieve the writer of the call back function from having
to cast its first argument from void* to member type.

Reviewed by: rlibby
Differential Revision: https://reviews.freebsd.org/D45586

Details

Provenance
dougmAuthored on Fri, Jun 14, 7:19 AM
Reviewer
rlibby
Differential Revision
D45586: pctrie: avoid typecast
Parents
rGfbff6d54da14: vm_phys: Fix vm_phys_find_range() after commit 69cbb18746b6
Branches
Unknown
Tags
Unknown