summaryrefslogtreecommitdiffstats
path: root/cpukit/posix/inline/rtems/posix/mqueue.inl
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--cpukit/posix/inline/rtems/posix/mqueue.inl9
1 files changed, 6 insertions, 3 deletions
diff --git a/cpukit/posix/inline/rtems/posix/mqueue.inl b/cpukit/posix/inline/rtems/posix/mqueue.inl
index 22862edf0c..62bc3ce327 100644
--- a/cpukit/posix/inline/rtems/posix/mqueue.inl
+++ b/cpukit/posix/inline/rtems/posix/mqueue.inl
@@ -105,12 +105,15 @@ RTEMS_INLINE_ROUTINE POSIX_Message_queue_Control *_POSIX_Message_queue_Get (
*/
RTEMS_INLINE_ROUTINE POSIX_Message_queue_Control_fd *_POSIX_Message_queue_Get_fd (
- Objects_Id id,
+ mqd_t id,
Objects_Locations *location
)
{
- return (POSIX_Message_queue_Control_fd *)
- _Objects_Get( &_POSIX_Message_queue_Information_fds, id, location );
+ return (POSIX_Message_queue_Control_fd *) _Objects_Get(
+ &_POSIX_Message_queue_Information_fds,
+ (Objects_Id)id,
+ location
+ );
}
/*PAGE