summaryrefslogtreecommitdiffstats
path: root/cpukit/score/macros/rtems/score/object.inl
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/score/macros/rtems/score/object.inl')
-rw-r--r--cpukit/score/macros/rtems/score/object.inl2
1 files changed, 1 insertions, 1 deletions
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 ); \
}