summaryrefslogtreecommitdiffstats
path: root/cpukit
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2009-05-05 21:17:28 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2009-05-05 21:17:28 +0000
commit43776b57f6cbac99cbbbf75f22daea60724b829a (patch)
treee955fef8dfdaadb3e4f7ec8610400a2336207628 /cpukit
parent2009-05-05 Joel Sherrill <joel.sherrill@oarcorp.com> (diff)
downloadrtems-43776b57f6cbac99cbbbf75f22daea60724b829a.tar.bz2
2009-05-05 Joel Sherrill <joel.sherrill@oarcorp.com>
* rtems/include/rtems/rtems/part.h, rtems/inline/rtems/rtems/region.inl: Fix warnings.
Diffstat (limited to '')
-rw-r--r--cpukit/ChangeLog5
-rw-r--r--cpukit/rtems/include/rtems/rtems/part.h2
-rw-r--r--cpukit/rtems/inline/rtems/rtems/region.inl2
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 );