summaryrefslogtreecommitdiffstats
path: root/c/src/exec/score/macros
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1998-01-20 20:32:15 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1998-01-20 20:32:15 +0000
commit6ab91d97248df6d429b5bd141f3873d6c516ee4d (patch)
treee161e1165bfea962ace4e6fc5dc9ccb62e389c75 /c/src/exec/score/macros
parentRemoved warning per Chris John's suggestion. (diff)
downloadrtems-6ab91d97248df6d429b5bd141f3873d6c516ee4d.tar.bz2
Removed warning per Chris Johns' suggestion.
Diffstat (limited to 'c/src/exec/score/macros')
-rw-r--r--c/src/exec/score/macros/object.inl2
-rw-r--r--c/src/exec/score/macros/rtems/score/object.inl2
2 files changed, 2 insertions, 2 deletions
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 ); \
}