diff options
-rw-r--r-- | cpukit/ChangeLog | 5 | ||||
-rw-r--r-- | cpukit/rtems/include/rtems/rtems/part.h | 2 | ||||
-rw-r--r-- | cpukit/rtems/inline/rtems/rtems/region.inl | 2 |
3 files changed, 7 insertions, 2 deletions
diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog index f3f9b57847..46678d1102 100644 --- a/cpukit/ChangeLog +++ b/cpukit/ChangeLog @@ -1,5 +1,10 @@ 2009-05-05 Joel Sherrill <joel.sherrill@oarcorp.com> + * rtems/include/rtems/rtems/part.h, + rtems/inline/rtems/rtems/region.inl: Fix warnings. + +2009-05-05 Joel Sherrill <joel.sherrill@oarcorp.com> + * score/include/rtems/score/heap.h, score/inline/rtems/score/address.inl, score/inline/rtems/score/heap.inl, diff --git a/cpukit/rtems/include/rtems/rtems/part.h b/cpukit/rtems/include/rtems/rtems/part.h index 65493c8ce6..84245aa78b 100644 --- a/cpukit/rtems/include/rtems/rtems/part.h +++ b/cpukit/rtems/include/rtems/rtems/part.h @@ -66,7 +66,7 @@ typedef struct { /** This field is the physical starting address of the Partition. */ void *starting_address; /** This field is the size of the Partition in bytes. */ - uint32_t length; + intptr_t length; /** This field is the size of each buffer in bytes */ uint32_t buffer_size; /** This field is the attribute set provided at create time. */ diff --git a/cpukit/rtems/inline/rtems/rtems/region.inl b/cpukit/rtems/inline/rtems/rtems/region.inl index 18380e2862..be651dc10a 100644 --- a/cpukit/rtems/inline/rtems/rtems/region.inl +++ b/cpukit/rtems/inline/rtems/rtems/region.inl @@ -78,7 +78,7 @@ RTEMS_INLINE_ROUTINE Region_Control *_Region_Get ( */ RTEMS_INLINE_ROUTINE void *_Region_Allocate_segment ( Region_Control *the_region, - uint32_t size + intptr_t size ) { return _Heap_Allocate( &the_region->Memory, size ); |