From 20697735717407d0d2309e66ad47007b078ae7d3 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Wed, 18 Sep 1996 20:47:39 +0000 Subject: use address object to avoid direct pointer arithmetic --- c/src/exec/score/cpu/sparc/cpu.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'c/src/exec/score/cpu/sparc') diff --git a/c/src/exec/score/cpu/sparc/cpu.h b/c/src/exec/score/cpu/sparc/cpu.h index b0d1255744..0571ba5bd0 100644 --- a/c/src/exec/score/cpu/sparc/cpu.h +++ b/c/src/exec/score/cpu/sparc/cpu.h @@ -789,7 +789,7 @@ void _CPU_Context_Initialize( */ #define _CPU_Context_Fp_start( _base, _offset ) \ - ( (void *) (_base) + (_offset) ) + ( (void *) _Addresses_Add_offset( (_base), (_offset) ) ) /* * This routine initializes the FP context area passed to it to. -- cgit v1.2.3