forked from Imagelibrary/rtems
2009-05-05 Joel Sherrill <joel.sherrill@oarcorp.com>
* rtems/include/rtems/rtems/part.h, rtems/inline/rtems/rtems/region.inl: Fix warnings.
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
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,
|
||||
|
||||
@@ -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. */
|
||||
|
||||
@@ -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 );
|
||||
|
||||
Reference in New Issue
Block a user