From 24a7692d491dc6d702f015f9bbc62e20ff6ff3df Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Fri, 5 Mar 2004 18:04:00 +0000 Subject: 2004-03-05 Joel Sherrill * score/macros/rtems/score/chain.inl, score/src/objectidtoname.c: Add cast to avoid type punning warning in gcc 3.3. --- cpukit/score/macros/rtems/score/chain.inl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cpukit/score/macros/rtems/score/chain.inl') diff --git a/cpukit/score/macros/rtems/score/chain.inl b/cpukit/score/macros/rtems/score/chain.inl index 9366636e49..1694130464 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 *) (_the_chain)) + ((Chain_Node *) ((void *)(_the_chain))) /*PAGE * @@ -54,7 +54,7 @@ */ #define _Chain_Tail( _the_chain ) \ - ((Chain_Node *) &(_the_chain)->permanent_null) + ((Chain_Node *) ((void *)&(_the_chain)->permanent_null)) /*PAGE * -- cgit v1.2.3