summaryrefslogtreecommitdiffstats
path: root/cpukit/rtems
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--cpukit/rtems/include/rtems/rtems/part.h2
-rw-r--r--cpukit/rtems/inline/rtems/rtems/region.inl2
2 files changed, 2 insertions, 2 deletions
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 );