diff options
Diffstat (limited to 'cpukit/posix/inline/rtems/posix/semaphore.inl')
-rw-r--r-- | cpukit/posix/inline/rtems/posix/semaphore.inl | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/cpukit/posix/inline/rtems/posix/semaphore.inl b/cpukit/posix/inline/rtems/posix/semaphore.inl index 59917bb081..eb885f1aa0 100644 --- a/cpukit/posix/inline/rtems/posix/semaphore.inl +++ b/cpukit/posix/inline/rtems/posix/semaphore.inl @@ -66,14 +66,13 @@ RTEMS_INLINE_ROUTINE void _POSIX_Semaphore_Namespace_remove ( * * _POSIX_Semaphore_Get */ - RTEMS_INLINE_ROUTINE POSIX_Semaphore_Control *_POSIX_Semaphore_Get ( sem_t *id, Objects_Locations *location ) { return (POSIX_Semaphore_Control *) - _Objects_Get( &_POSIX_Semaphore_Information, *id, location ); + _Objects_Get( &_POSIX_Semaphore_Information, (Objects_Id)*id, location ); } /*PAGE |