diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2008-11-10 11:29:40 +0000 |
---|---|---|
committer | Thomas Schwinge <tschwinge@gnu.org> | 2009-06-18 00:27:20 +0200 |
commit | 039405897aa8245990bc6249e58a6595debcc21e (patch) | |
tree | a042d5058dee391292a61f5fd6dacaa6c21aaafc /ipc | |
parent | 9aa129a1685ce235f75e2306fecf9a8ca09453f1 (diff) |
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.
Diffstat (limited to 'ipc')
-rw-r--r-- | ipc/mach_port.c | 3 |
1 files changed, 2 insertions, 1 deletions
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); } /* |