diff options
Diffstat (limited to 'cpukit/score/src/semaphore.c')
-rw-r--r-- | cpukit/score/src/semaphore.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/score/src/semaphore.c b/cpukit/score/src/semaphore.c index df33532108..7619147ece 100644 --- a/cpukit/score/src/semaphore.c +++ b/cpukit/score/src/semaphore.c @@ -39,12 +39,12 @@ RTEMS_STATIC_ASSERT( RTEMS_STATIC_ASSERT( offsetof( Semaphore_Control, count ) - == offsetof( struct _Semaphore_Control, _count ), + <= offsetof( struct _Semaphore_Control, _count ), SEMAPHORE_CONTROL_COUNT ); RTEMS_STATIC_ASSERT( - sizeof( Semaphore_Control ) == sizeof( struct _Semaphore_Control ), + sizeof( Semaphore_Control ) <= sizeof( struct _Semaphore_Control ), SEMAPHORE_CONTROL_SIZE ); |