From 9c8195a01495e6f933bf9e4835faa386368e0e29 Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Wed, 29 Dec 2004 09:58:54 +0000 Subject: 2004-12-29 Ralf Corsepius * score/include/rtems/score/chain.h: Use uint32_t instead of unsigned32. * score/src/chain.c: Remove superfluous type cast. --- cpukit/score/include/rtems/score/chain.h | 4 ++-- cpukit/score/src/chain.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'cpukit/score') 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; -- cgit v1.2.3