summaryrefslogtreecommitdiffstats
path: root/cpukit/rtems/src/regionresizesegment.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2008-12-14 22:48:54 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2008-12-14 22:48:54 +0000
commit41eb1e40900196835f903485a6f81637e6b2210f (patch)
tree9a2f3040ad704b84d5ab79efcc8c441ec5f326ad /cpukit/rtems/src/regionresizesegment.c
parent2008-12-14 Joel Sherrill <joel.sherrill@oarcorp.com> (diff)
downloadrtems-41eb1e40900196835f903485a6f81637e6b2210f.tar.bz2
2008-12-14 Joel Sherrill <joel.sherrill@oarcorp.com>
* libcsupport/src/realloc.c, rtems/include/rtems/rtems/region.h, rtems/src/regioncreate.c, rtems/src/regionextend.c, rtems/src/regiongetsegment.c, rtems/src/regiongetsegmentsize.c, rtems/src/regionmp.c, rtems/src/regionresizesegment.c, sapi/include/rtems/config.h, score/include/rtems/score/heap.h, score/include/rtems/score/protectedheap.h, score/src/heap.c, score/src/heapallocate.c, score/src/heapallocatealigned.c, score/src/heapextend.c, score/src/heapresizeblock.c, score/src/heapsizeofuserarea.c, score/src/pheapallocate.c, score/src/pheapallocatealigned.c, score/src/pheapextend.c, score/src/pheapgetblocksize.c, score/src/pheapresizeblock.c: Change sizes of heap/region and allocated objects in heap to intptr_t so they can be larger than a single allocatable object (e.g. size_t).
Diffstat (limited to 'cpukit/rtems/src/regionresizesegment.c')
-rw-r--r--cpukit/rtems/src/regionresizesegment.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/cpukit/rtems/src/regionresizesegment.c b/cpukit/rtems/src/regionresizesegment.c
index 43cb302afd..2bbca2bae5 100644
--- a/cpukit/rtems/src/regionresizesegment.c
+++ b/cpukit/rtems/src/regionresizesegment.c
@@ -46,13 +46,13 @@
rtems_status_code rtems_region_resize_segment(
Objects_Id id,
void *segment,
- size_t size,
- size_t *old_size
+ intptr_t size,
+ intptr_t *old_size
)
{
- uint32_t avail_size;
+ intptr_t avail_size;
Objects_Locations location;
- uint32_t osize;
+ intptr_t osize;
rtems_status_code return_status = RTEMS_INTERNAL_ERROR;
Heap_Resize_status status;
register Region_Control *the_region;