summaryrefslogtreecommitdiff
path: root/ipc/mach_debug.c
diff options
context:
space:
mode:
Diffstat (limited to 'ipc/mach_debug.c')
-rw-r--r--ipc/mach_debug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ipc/mach_debug.c b/ipc/mach_debug.c
index 7201f7c..dd9057a 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;
}