diff options
author | Marin Ramesa <mpr@hi.t-com.hr> | 2013-12-11 00:01:36 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2013-12-11 00:10:57 +0100 |
commit | e16248d97c0775476947b8dfd24ff5e1ac822128 (patch) | |
tree | 569fe5210c37a9787cf8fbaa3c60055a55274ec3 | |
parent | 2b46d3fc3f7749b0dc2c0749c0ebf096d0147e45 (diff) |
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.
-rw-r--r-- | ipc/mach_debug.c | 2 |
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; } |