diff options
Diffstat (limited to 'c/src/exec/score')
-rw-r--r-- | c/src/exec/score/inline/object.inl | 2 | ||||
-rw-r--r-- | c/src/exec/score/inline/rtems/score/object.inl | 2 | ||||
-rw-r--r-- | c/src/exec/score/macros/object.inl | 2 | ||||
-rw-r--r-- | c/src/exec/score/macros/rtems/score/object.inl | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/c/src/exec/score/inline/object.inl b/c/src/exec/score/inline/object.inl index ab5d257ea6..3b4cf757b4 100644 --- a/c/src/exec/score/inline/object.inl +++ b/c/src/exec/score/inline/object.inl @@ -236,7 +236,7 @@ RTEMS_INLINE_ROUTINE void _Objects_Close( unsigned32 index; index = _Objects_Get_index( the_object->id ); - information->local_table[ index ] = NULL; + information->local_table[ index ] = (Objects_Control *) NULL; _Objects_Clear_name( the_object->name, information->name_length ); } diff --git a/c/src/exec/score/inline/rtems/score/object.inl b/c/src/exec/score/inline/rtems/score/object.inl index ab5d257ea6..3b4cf757b4 100644 --- a/c/src/exec/score/inline/rtems/score/object.inl +++ b/c/src/exec/score/inline/rtems/score/object.inl @@ -236,7 +236,7 @@ RTEMS_INLINE_ROUTINE void _Objects_Close( unsigned32 index; index = _Objects_Get_index( the_object->id ); - information->local_table[ index ] = NULL; + information->local_table[ index ] = (Objects_Control *) NULL; _Objects_Clear_name( the_object->name, information->name_length ); } diff --git a/c/src/exec/score/macros/object.inl b/c/src/exec/score/macros/object.inl index a71ee20636..f686968ed9 100644 --- a/c/src/exec/score/macros/object.inl +++ b/c/src/exec/score/macros/object.inl @@ -140,7 +140,7 @@ unsigned32 _index; \ \ _index = _Objects_Get_index( (_the_object)->id ); \ - (_information)->local_table[ _index ] = NULL; \ + (_information)->local_table[ _index ] = (Objects_Control *) NULL; \ _Objects_Clear_name( (_the_object)->name, (_information)->name_length ); \ } diff --git a/c/src/exec/score/macros/rtems/score/object.inl b/c/src/exec/score/macros/rtems/score/object.inl index a71ee20636..f686968ed9 100644 --- a/c/src/exec/score/macros/rtems/score/object.inl +++ b/c/src/exec/score/macros/rtems/score/object.inl @@ -140,7 +140,7 @@ unsigned32 _index; \ \ _index = _Objects_Get_index( (_the_object)->id ); \ - (_information)->local_table[ _index ] = NULL; \ + (_information)->local_table[ _index ] = (Objects_Control *) NULL; \ _Objects_Clear_name( (_the_object)->name, (_information)->name_length ); \ } |