diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1996-12-02 22:42:30 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1996-12-02 22:42:30 +0000 |
commit | 6764c84186f40313079dad42595720a12ad779de (patch) | |
tree | c1c34bd13690d196e1cad6510e88368b5a592b40 /c/src | |
parent | Replacement for the sis bsp which supports the simulator and real (diff) | |
download | rtems-6764c84186f40313079dad42595720a12ad779de.tar.bz2 |
minor changes to eliminate warnings from C++ compilers per user suggesstions.
Diffstat (limited to 'c/src')
-rw-r--r-- | c/src/exec/score/cpu/m68k/cpu.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/c/src/exec/score/cpu/m68k/cpu.h b/c/src/exec/score/cpu/m68k/cpu.h index 48caa7a0d7..4eb2dfe48d 100644 --- a/c/src/exec/score/cpu/m68k/cpu.h +++ b/c/src/exec/score/cpu/m68k/cpu.h @@ -262,12 +262,12 @@ unsigned32 _CPU_ISR_Get_level( void ); #define _CPU_Context_Initialize( _the_context, _stack_base, _size, \ _isr, _entry_point, _is_fp ) \ do { \ - void *_stack; \ + unsigned32 _stack; \ \ (_the_context)->sr = 0x3000 | ((_isr) << 8); \ - _stack = (void *)(_stack_base) + (_size) - 4; \ - (_the_context)->a7_msp = _stack; \ - *(void **)_stack = (_entry_point); \ + _stack = (unsigned32)(_stack_base) + (_size) - 4; \ + (_the_context)->a7_msp = (void *)_stack; \ + *(void **)_stack = (void *)(_entry_point); \ } while ( 0 ) #define _CPU_Context_Restart_self( _the_context ) \ |