diff options
Diffstat (limited to 'cpukit/score/cpu/unix/rtems/score/cpu.h')
-rw-r--r-- | cpukit/score/cpu/unix/rtems/score/cpu.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cpukit/score/cpu/unix/rtems/score/cpu.h b/cpukit/score/cpu/unix/rtems/score/cpu.h index f2058fc655..98861b1556 100644 --- a/cpukit/score/cpu/unix/rtems/score/cpu.h +++ b/cpukit/score/cpu/unix/rtems/score/cpu.h @@ -777,14 +777,14 @@ uint32_t _CPU_ISR_Get_level( void ); #define _CPU_Context_Initialize_fp( _destination ) \ { \ - *((Context_Control_fp *) *((void **) _destination)) = _CPU_Null_fp_context; \ + *(*(_destination)) = _CPU_Null_fp_context; \ } #define _CPU_Context_save_fp( _fp_context ) \ - _CPU_Save_float_context( *(Context_Control_fp **)(_fp_context)) + _CPU_Save_float_context(*(_fp_context)) #define _CPU_Context_restore_fp( _fp_context ) \ - _CPU_Restore_float_context( *(Context_Control_fp **)(_fp_context)) + _CPU_Restore_float_context(*(_fp_context)) extern void _CPU_Context_Initialize( Context_Control *_the_context, |