Member ip_kobject is of type vm_offset_t. * ipc/mach_debug.c (mach_port_kernel_object) (ip_kobject): Remove unnecessary cast.
--- ipc/mach_debug.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ipc/mach_debug.c b/ipc/mach_debug.c index 7c3c129..764e95d 100644 --- a/ipc/mach_debug.c +++ b/ipc/mach_debug.c @@ -604,7 +604,7 @@ mach_port_kernel_object( } *typep = ip_kotype(port); - *addrp = (vm_offset_t) port->ip_kobject; + *addrp = port->ip_kobject; ip_unlock(port); return KERN_SUCCESS; } -- 1.8.1.4