[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] ipc/mach_port.c compiler warning fix.
From: |
Shakthi Kannan |
Subject: |
Re: [PATCH] ipc/mach_port.c compiler warning fix. |
Date: |
Wed, 5 Nov 2008 18:39:30 +0530 |
Hi,
Sorry, sent wrong second patch (still trying to get working on git).
Take this one:
2008-11-05 Shakthi Kannan <shakshurd@gmail.com>
ipc/mach_port.c (mach_port_insert_right): Fix
'ipc_object_copyout_name' type compiler warning.
---
diff --git a/ipc/mach_port.c b/ipc/mach_port.c
index 63c25dc..ea863f4 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