summaryrefslogtreecommitdiffstats
path: root/cpukit/score/src/heapsizeofuserarea.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2008-11-20 20:01:13 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2008-11-20 20:01:13 +0000
commit7ff6115b8b913d848b8fe76daf72ca0b4bbf2548 (patch)
tree35545452de162753f8c608a400f2b0bd97d42807 /cpukit/score/src/heapsizeofuserarea.c
parent2008-11-20 Joel Sherrill <joel.sherrill@oarcorp.com> (diff)
downloadrtems-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/heapsizeofuserarea.c')
-rw-r--r--cpukit/score/src/heapsizeofuserarea.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/score/src/heapsizeofuserarea.c b/cpukit/score/src/heapsizeofuserarea.c
index 136389e878..c1555d2ccc 100644
--- a/cpukit/score/src/heapsizeofuserarea.c
+++ b/cpukit/score/src/heapsizeofuserarea.c
@@ -42,7 +42,7 @@
bool _Heap_Size_of_user_area(
Heap_Control *the_heap,
void *starting_address,
- ssize_t *size
+ size_t *size
)
{
Heap_Block *the_block;