From 524055a90924a150246a4cc5e01837e0530de6ce Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Sun, 25 Apr 2010 14:58:27 +0000 Subject: 2010-04-25 Joel Sherrill * rtems/score/cpu.h: Remove warning in _CPU_Context_Initialize. --- cpukit/score/cpu/lm32/rtems/score/cpu.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'cpukit/score/cpu/lm32/rtems') diff --git a/cpukit/score/cpu/lm32/rtems/score/cpu.h b/cpukit/score/cpu/lm32/rtems/score/cpu.h index 9cf0ec389f..973fad29b8 100644 --- a/cpukit/score/cpu/lm32/rtems/score/cpu.h +++ b/cpukit/score/cpu/lm32/rtems/score/cpu.h @@ -846,10 +846,10 @@ extern char _gp[]; _isr, _entry_point, _is_fp ) \ do { \ uint32_t _stack = (uint32_t)(_stack_base) + (_size) - 4; \ - (_the_context)->gp = (void *)_gp; \ - (_the_context)->fp = (void *)_stack; \ - (_the_context)->sp = (void *)_stack; \ - (_the_context)->ra = (void *)(_entry_point); \ + (_the_context)->gp = (uint32_t)_gp; \ + (_the_context)->fp = (uint32_t)_stack; \ + (_the_context)->sp = (uint32_t)_stack; \ + (_the_context)->ra = (uint32_t)(_entry_point); \ } while ( 0 ) /** -- cgit v1.2.3