summaryrefslogtreecommitdiffstats
path: root/cpukit/score/cpu/h8300/rtems/score/cpu.h
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2010-04-25 15:06:32 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2010-04-25 15:06:32 +0000
commit2146dbac19a234d4c3b269d82f05d53e0338a362 (patch)
tree649ec5c0d2707a59df8af973941965b1cce9e22d /cpukit/score/cpu/h8300/rtems/score/cpu.h
parent2010-04-25 Joel Sherrill <joel.sherrilL@OARcorp.com> (diff)
downloadrtems-2146dbac19a234d4c3b269d82f05d53e0338a362.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/h8300/rtems/score/cpu.h')
-rw-r--r--cpukit/score/cpu/h8300/rtems/score/cpu.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/score/cpu/h8300/rtems/score/cpu.h b/cpukit/score/cpu/h8300/rtems/score/cpu.h
index f684e0e5f1..b787d65da4 100644
--- a/cpukit/score/cpu/h8300/rtems/score/cpu.h
+++ b/cpukit/score/cpu/h8300/rtems/score/cpu.h
@@ -762,12 +762,12 @@ uint32_t _CPU_ISR_Get_level( void );
_isr, _entry_point, _is_fp ) \
/* Locate Me */ \
do { \
- uint32_t _stack; \
+ uintptr_t _stack; \
\
if ( (_isr) ) (_the_context)->ccr = CPU_CCR_INTERRUPTS_OFF; \
else (_the_context)->ccr = CPU_CCR_INTERRUPTS_ON; \
\
- _stack = ((uint32_t)(_stack_base)) + (_size) - 4; \
+ _stack = ((uintptr_t)(_stack_base)) + (_size) - 4; \
*((proc_ptr *)(_stack)) = (_entry_point); \
(_the_context)->er7 = (void *) _stack; \
(_the_context)->er6 = (void *) _stack; \