diff options
Diffstat (limited to 'cpukit/score/cpu/h8300/rtems')
-rw-r--r-- | cpukit/score/cpu/h8300/rtems/score/cpu.h | 4 |
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; \ |