From 6ab91d97248df6d429b5bd141f3873d6c516ee4d Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Tue, 20 Jan 1998 20:32:15 +0000 Subject: Removed warning per Chris Johns' suggestion. --- c/src/exec/score/inline/object.inl | 2 +- c/src/exec/score/inline/rtems/score/object.inl | 2 +- c/src/exec/score/macros/object.inl | 2 +- c/src/exec/score/macros/rtems/score/object.inl | 2 +- cpukit/score/inline/rtems/score/object.inl | 2 +- cpukit/score/macros/rtems/score/object.inl | 2 +- 6 files changed, 6 insertions(+), 6 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 ); \ } diff --git a/cpukit/score/inline/rtems/score/object.inl b/cpukit/score/inline/rtems/score/object.inl index ab5d257ea6..3b4cf757b4 100644 --- a/cpukit/score/inline/rtems/score/object.inl +++ b/cpukit/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/cpukit/score/macros/rtems/score/object.inl b/cpukit/score/macros/rtems/score/object.inl index a71ee20636..f686968ed9 100644 --- a/cpukit/score/macros/rtems/score/object.inl +++ b/cpukit/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 ); \ } -- cgit v1.2.3