diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2004-03-23 12:16:30 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2004-03-23 12:16:30 +0000 |
commit | e7ceef9168a83f3071e4c523366bccb03376f747 (patch) | |
tree | 19f97f0b2ebbddad92dcb8c5f3e553a3491c5372 /cpukit/libcsupport/src/malloc.c | |
parent | 2004-03-23 Ralf Corsepius <ralf_corsepius@rtems.org> (diff) | |
download | rtems-e7ceef9168a83f3071e4c523366bccb03376f747.tar.bz2 |
2004-03-23 Ralf Corsepius <ralf_corsepius@rtems.org>
* libcsupport/src/malloc.c: Remove lvalue casts.
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; |