summaryrefslogtreecommitdiffstats
path: root/cpukit/score/cpu/lm32/rtems
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2010-04-25 14:58:27 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2010-04-25 14:58:27 +0000
commit524055a90924a150246a4cc5e01837e0530de6ce (patch)
tree734b9e7349c9464ab51d33602354655cc63d9b5a /cpukit/score/cpu/lm32/rtems
parent2010-04-25 Joel Sherrill <joel.sherrilL@OARcorp.com> (diff)
downloadrtems-524055a90924a150246a4cc5e01837e0530de6ce.tar.bz2
2010-04-25 Joel Sherrill <joel.sherrilL@OARcorp.com>
* rtems/score/cpu.h: Remove warning in _CPU_Context_Initialize.
Diffstat (limited to 'cpukit/score/cpu/lm32/rtems')
-rw-r--r--cpukit/score/cpu/lm32/rtems/score/cpu.h8
1 files changed, 4 insertions, 4 deletions
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 )
/**