summaryrefslogtreecommitdiffstats
path: root/c/src/exec/score/cpu/unix
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1996-09-18 20:47:39 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1996-09-18 20:47:39 +0000
commit20697735717407d0d2309e66ad47007b078ae7d3 (patch)
treeca396c6354a943bd360a8dc5490bbdad80c2e3ce /c/src/exec/score/cpu/unix
parentcorrected white space problems (diff)
downloadrtems-20697735717407d0d2309e66ad47007b078ae7d3.tar.bz2
use address object to avoid direct pointer arithmetic
Diffstat (limited to 'c/src/exec/score/cpu/unix')
-rw-r--r--c/src/exec/score/cpu/unix/cpu.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/c/src/exec/score/cpu/unix/cpu.h b/c/src/exec/score/cpu/unix/cpu.h
index 3c4899e983..9e616620ac 100644
--- a/c/src/exec/score/cpu/unix/cpu.h
+++ b/c/src/exec/score/cpu/unix/cpu.h
@@ -706,7 +706,7 @@ unsigned32 _CPU_ISR_Get_level( void );
*/
#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.