diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-11-20 20:01:13 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-11-20 20:01:13 +0000 |
commit | 7ff6115b8b913d848b8fe76daf72ca0b4bbf2548 (patch) | |
tree | 35545452de162753f8c608a400f2b0bd97d42807 /cpukit/score/src/heapextend.c | |
parent | 2008-11-20 Joel Sherrill <joel.sherrill@oarcorp.com> (diff) | |
download | rtems-7ff6115b8b913d848b8fe76daf72ca0b4bbf2548.tar.bz2 |
2008-11-20 Joel Sherrill <joel.sherrill@oarcorp.com>
* score/include/rtems/score/heap.h,
score/include/rtems/score/protectedheap.h,
score/include/rtems/score/wkspace.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/pheapgetblocksize.c,
score/src/wkspace.c: Revert use of ssize_t. This type is not
guaranteed to be able to represent a positive number greater than the
size of a single allocatable object. We needed a type that is able to
represent the size of a pool of multiple allocatable objects or
potentially nearly all memory.
Diffstat (limited to 'cpukit/score/src/heapextend.c')
-rw-r--r-- | cpukit/score/src/heapextend.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/score/src/heapextend.c b/cpukit/score/src/heapextend.c index 0e0329f4e6..73eb91f127 100644 --- a/cpukit/score/src/heapextend.c +++ b/cpukit/score/src/heapextend.c @@ -38,7 +38,7 @@ Heap_Extend_status _Heap_Extend( Heap_Control *the_heap, void *starting_address, - ssize_t size, + size_t size, uint32_t *amount_extended ) { |