diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-12-11 21:10:52 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-12-11 21:10:52 +0000 |
commit | dc09259b1039e20224be272008b9d755655c8b80 (patch) | |
tree | 5e8156d57eeeac2c1645c7bae4cdd22ae65820b5 /cpukit/score/inline | |
parent | 2008-12-11 Joel Sherrill <joel.sherrill@oarcorp.com> (diff) | |
download | rtems-dc09259b1039e20224be272008b9d755655c8b80.tar.bz2 |
2008-12-11 Joel Sherrill <joel.sherrill@oarcorp.com>
* score/inline/rtems/score/address.inl: Make offset arguments intptr_t
not int32_t.
Diffstat (limited to 'cpukit/score/inline')
-rw-r--r-- | cpukit/score/inline/rtems/score/address.inl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/score/inline/rtems/score/address.inl b/cpukit/score/inline/rtems/score/address.inl index fb44781e6d..ef61411915 100644 --- a/cpukit/score/inline/rtems/score/address.inl +++ b/cpukit/score/inline/rtems/score/address.inl @@ -42,7 +42,7 @@ #include <rtems/bspIo.h> RTEMS_INLINE_ROUTINE void *_Addresses_Add_offset ( void *base, - int32_t offset + intptr_t offset ) { return (void *)((intptr_t)base + offset); @@ -62,7 +62,7 @@ RTEMS_INLINE_ROUTINE void *_Addresses_Add_offset ( RTEMS_INLINE_ROUTINE void *_Addresses_Subtract_offset ( void *base, - int32_t offset + intptr_t offset ) { return (void *)((intptr_t)base - offset); |