[rtems commit] malloc: Fix function definition

Sebastian Huber sebh at rtems.org
Tue Mar 1 06:36:01 UTC 2016


Module:    rtems
Branch:    master
Commit:    75518fb78240dbab92fc9d959765639afb32a457
Changeset: http://git.rtems.org/rtems/commit/?id=75518fb78240dbab92fc9d959765639afb32a457

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Tue Mar  1 07:34:56 2016 +0100

malloc: Fix function definition

Close #2617.

---

 cpukit/libcsupport/src/malloc_deferred.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cpukit/libcsupport/src/malloc_deferred.c b/cpukit/libcsupport/src/malloc_deferred.c
index e781a05..2a4f5c8 100644
--- a/cpukit/libcsupport/src/malloc_deferred.c
+++ b/cpukit/libcsupport/src/malloc_deferred.c
@@ -76,7 +76,7 @@ static void _Malloc_Process_deferred_frees( void )
 }
 
 void *rtems_heap_allocate_aligned_with_boundary(
-  uintptr_t size,
+  size_t    size,
   uintptr_t alignment,
   uintptr_t boundary
 )



More information about the vc mailing list