summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 723d864..7201f7c 100644
--- a/ipc/mach_debug.c
+++ b/ipc/mach_debug.c
@@ -603,7 +603,7 @@ mach_port_kernel_object(
return KERN_INVALID_RIGHT;
}
- *typep = (unsigned int) ip_kotype(port);
+ *typep = ip_kotype(port);
*addrp = (vm_offset_t) port->ip_kobject;
ip_unlock(port);
return KERN_SUCCESS;