summaryrefslogtreecommitdiffstats
path: root/cpukit/score/cpu/avr/rtems/score/cpu.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/score/cpu/avr/rtems/score/cpu.h')
-rw-r--r--cpukit/score/cpu/avr/rtems/score/cpu.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/cpukit/score/cpu/avr/rtems/score/cpu.h b/cpukit/score/cpu/avr/rtems/score/cpu.h
index c614ea8342..10ad45fd03 100644
--- a/cpukit/score/cpu/avr/rtems/score/cpu.h
+++ b/cpukit/score/cpu/avr/rtems/score/cpu.h
@@ -817,7 +817,7 @@ 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; \
}
/* end of Context handler macros */
@@ -1075,7 +1075,7 @@ void _CPU_Context_restore(
*/
void _CPU_Context_save_fp(
- void **fp_context_ptr
+ Context_Control_fp **fp_context_ptr
);
/*
@@ -1089,7 +1089,7 @@ void _CPU_Context_save_fp(
*/
void _CPU_Context_restore_fp(
- void **fp_context_ptr
+ Context_Control_fp **fp_context_ptr
);
/* The following routine swaps the endian format of an unsigned int.