From 43776b57f6cbac99cbbbf75f22daea60724b829a Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Tue, 5 May 2009 21:17:28 +0000 Subject: 2009-05-05 Joel Sherrill * rtems/include/rtems/rtems/part.h, rtems/inline/rtems/rtems/region.inl: Fix warnings. --- cpukit/ChangeLog | 5 +++++ cpukit/rtems/include/rtems/rtems/part.h | 2 +- cpukit/rtems/inline/rtems/rtems/region.inl | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) (limited to 'cpukit') diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog index f3f9b57847..46678d1102 100644 --- a/cpukit/ChangeLog +++ b/cpukit/ChangeLog @@ -1,3 +1,8 @@ +2009-05-05 Joel Sherrill + + * rtems/include/rtems/rtems/part.h, + rtems/inline/rtems/rtems/region.inl: Fix warnings. + 2009-05-05 Joel Sherrill * score/include/rtems/score/heap.h, 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 ); -- cgit v1.2.3