diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | ipc/mach_port.c | 3 |
2 files changed, 8 insertions, 1 deletions
@@ -1,3 +1,9 @@ +2008-11-05 Shakthi Kannan <shakshurd@gmail.com> + + * ipc/mach_port.c (mach_port_insert_right): Cast poly into + (ipc_object_t) to fix compiler warning when calling + ipc_object_copyout_name. + 2008-08-31 Samuel Thibault <samuel.thibault@ens-lyon.org> * i386/i386/trap.c (user_trap): On page fault, raise exception instead diff --git a/ipc/mach_port.c b/ipc/mach_port.c index 63c25dc..17aaf88 100644 --- a/ipc/mach_port.c +++ b/ipc/mach_port.c @@ -1290,7 +1290,8 @@ mach_port_insert_right( if (!IO_VALID((ipc_object_t)poly)) return KERN_INVALID_CAPABILITY; - return ipc_object_copyout_name(space, poly, polyPoly, FALSE, name); + return ipc_object_copyout_name(space, (ipc_object_t)poly, + polyPoly, FALSE, name); } /* |