diff options
Diffstat (limited to 'cpukit/posix/inline/rtems/posix/spinlock.inl')
-rw-r--r-- | cpukit/posix/inline/rtems/posix/spinlock.inl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/posix/inline/rtems/posix/spinlock.inl b/cpukit/posix/inline/rtems/posix/spinlock.inl index 97cdeb97bb..6007258e01 100644 --- a/cpukit/posix/inline/rtems/posix/spinlock.inl +++ b/cpukit/posix/inline/rtems/posix/spinlock.inl @@ -68,7 +68,7 @@ RTEMS_INLINE_ROUTINE POSIX_Spinlock_Control *_POSIX_Spinlock_Get ( { return (POSIX_Spinlock_Control *) _Objects_Get( &_POSIX_Spinlock_Information, - *((Objects_Id *)spinlock), + (Objects_Id) *spinlock, location ); } |