summaryrefslogtreecommitdiff
path: root/ipc
diff options
context:
space:
mode:
authorMarin Ramesa <mpr@hi.t-com.hr>2013-12-11 00:01:35 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2013-12-11 00:10:31 +0100
commit2b46d3fc3f7749b0dc2c0749c0ebf096d0147e45 (patch)
tree8d52a6a6e0f264c735f664aa9bfdad04ff8b5c07 /ipc
parentf167a7b8c8aaa0f5522303566a5b48d4d89782ef (diff)
ipc/mach_debug.c (mach_port_kernel_object): remove unnecessary cast
Return value from ip_kotype is an unsigned int. * ipc/mach_debug.c (mach_port_kernel_object) (ip_kotype): Remove unnecessary cast.
Diffstat (limited to 'ipc')
-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;