diff --git a/cpukit/score/cpu/sh/ChangeLog b/cpukit/score/cpu/sh/ChangeLog index 5f6cd9b2a1..c60074d563 100644 --- a/cpukit/score/cpu/sh/ChangeLog +++ b/cpukit/score/cpu/sh/ChangeLog @@ -1,3 +1,7 @@ +2005-01-24 Ralf Corsepius + + * rtems/score/sh.h: *_swap_u32( uint32_t ). + 2005-01-24 Ralf Corsepius * rtems/score/sh.h: *_swap_u16( uint16_t ). diff --git a/cpukit/score/cpu/sh/rtems/score/sh.h b/cpukit/score/cpu/sh/rtems/score/sh.h index f37ce1cdcf..011e019335 100644 --- a/cpukit/score/cpu/sh/rtems/score/sh.h +++ b/cpukit/score/cpu/sh/rtems/score/sh.h @@ -185,11 +185,11 @@ extern "C" { * It must be static because it is referenced indirectly. */ -static inline unsigned int sh_swap_u32( - unsigned int value +static inline uint32_t sh_swap_u32( + uint32_t value ) { - register unsigned int swapped; + register uint32_t swapped; asm volatile ( "swap.b %1,%0; "