From 7ff6115b8b913d848b8fe76daf72ca0b4bbf2548 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Thu, 20 Nov 2008 20:01:13 +0000 Subject: 2008-11-20 Joel Sherrill * 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. --- cpukit/score/src/heapextend.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cpukit/score/src/heapextend.c') 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 ) { -- cgit v1.2.3