2008-12-11 Joel Sherrill <joel.sherrill@oarcorp.com>

* score/inline/rtems/score/address.inl: Make offset arguments intptr_t
	not int32_t.
This commit is contained in:
Joel Sherrill
2008-12-11 21:10:52 +00:00
parent 78aa0609b4
commit dc09259b10
2 changed files with 7 additions and 2 deletions
+5
View File
@@ -1,3 +1,8 @@
2008-12-11 Joel Sherrill <joel.sherrill@oarcorp.com>
* score/inline/rtems/score/address.inl: Make offset arguments intptr_t
not int32_t.
2008-12-11 Ralf Corsépius <ralf.corsepius@rtems.org>
* libnetworking/net/if_arp.h, libnetworking/net/route.h:
+2 -2
View File
@@ -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);