summaryrefslogtreecommitdiffstats
path: root/cpukit/score/macros/rtems/score
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/score/macros/rtems/score')
-rw-r--r--cpukit/score/macros/rtems/score/chain.inl4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/score/macros/rtems/score/chain.inl b/cpukit/score/macros/rtems/score/chain.inl
index 1694130464..9366636e49 100644
--- a/cpukit/score/macros/rtems/score/chain.inl
+++ b/cpukit/score/macros/rtems/score/chain.inl
@@ -46,7 +46,7 @@
*/
#define _Chain_Head( _the_chain ) \
- ((Chain_Node *) ((void *)(_the_chain)))
+ ((Chain_Node *) (_the_chain))
/*PAGE
*
@@ -54,7 +54,7 @@
*/
#define _Chain_Tail( _the_chain ) \
- ((Chain_Node *) ((void *)&(_the_chain)->permanent_null))
+ ((Chain_Node *) &(_the_chain)->permanent_null)
/*PAGE
*