diff options
-rw-r--r-- | cpukit/ChangeLog | 6 | ||||
-rw-r--r-- | cpukit/score/include/rtems/score/chain.h | 4 | ||||
-rw-r--r-- | cpukit/score/src/chain.c | 2 |
3 files changed, 9 insertions, 3 deletions
diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog index a25ac0b134..5323d26aa9 100644 --- a/cpukit/ChangeLog +++ b/cpukit/ChangeLog @@ -1,3 +1,9 @@ +2004-12-29 Ralf Corsepius <ralf.corsepius@rtems.org> + + * score/include/rtems/score/chain.h: + Use uint32_t instead of unsigned32. + * score/src/chain.c: Remove superfluous type cast. + 2004-12-10 Ralf Corsepius <ralf.corsepius@rtems.org> * posix/include/aio.h, posix/include/devctl.h, diff --git a/cpukit/score/include/rtems/score/chain.h b/cpukit/score/include/rtems/score/chain.h index 46accd3a95..497b00d635 100644 --- a/cpukit/score/include/rtems/score/chain.h +++ b/cpukit/score/include/rtems/score/chain.h @@ -104,8 +104,8 @@ typedef struct { void _Chain_Initialize( Chain_Control *the_chain, void *starting_address, - unsigned32 number_nodes, - unsigned32 node_size + uint32_t number_nodes, + uint32_t node_size ); #ifndef RTEMS_INLINES diff --git a/cpukit/score/src/chain.c b/cpukit/score/src/chain.c index 4e280fecd7..ea064c6b60 100644 --- a/cpukit/score/src/chain.c +++ b/cpukit/score/src/chain.c @@ -50,7 +50,7 @@ void _Chain_Initialize( count = number_nodes; current = _Chain_Head( the_chain ); the_chain->permanent_null = NULL; - next = (Chain_Node *)starting_address; + next = starting_address; while ( count-- ) { current->next = next; next->previous = current; |