[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] ipc/mach_port.c compiler warning fix.
From: |
Shakthi Kannan |
Subject: |
[PATCH] ipc/mach_port.c compiler warning fix. |
Date: |
Tue, 4 Nov 2008 19:06:07 +0530 |
Fix ipc/mach_port.c compiler warning.
---
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..0d78714 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);
}
/*
--
1.5.6
- [PATCH] ipc/mach_port.c compiler warning fix.,
Shakthi Kannan <=