From e16248d97c0775476947b8dfd24ff5e1ac822128 Mon Sep 17 00:00:00 2001 From: Marin Ramesa Date: Wed, 11 Dec 2013 00:01:36 +0100 Subject: ipc/mach_debug.c (mach_port_kernel_object): remove unnecessary cast 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(-) (limited to 'ipc/mach_debug.c') diff --git a/ipc/mach_debug.c b/ipc/mach_debug.c index 7201f7c6..dd9057a4 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; } -- cgit v1.2.3