diff options
Diffstat (limited to 'cpukit/libcsupport/src/malloc.c')
-rw-r--r-- | cpukit/libcsupport/src/malloc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cpukit/libcsupport/src/malloc.c b/cpukit/libcsupport/src/malloc.c index 56b2f8cfc5..2d4f965c44 100644 --- a/cpukit/libcsupport/src/malloc.c +++ b/cpukit/libcsupport/src/malloc.c @@ -212,8 +212,8 @@ void *malloc( the_size = ((size + sbrk_amount) / sbrk_amount * sbrk_amount); - if (((uint32_t )starting_address = (void *)sbrk(the_size)) - == (uint32_t ) -1) + if ((starting_address = (void *)sbrk(the_size)) + == (void*) -1) return (void *) 0; status = rtems_region_extend( @@ -289,7 +289,7 @@ void *realloc( size_t size ) { - uint32_t old_size; + size_t old_size; rtems_status_code status; char *new_area; |