[PATCH 5/9] libcsupport: Fix printk warnings.

Chris Johns chrisj at rtems.org
Mon May 23 06:55:44 UTC 2016


---
 cpukit/libcsupport/src/free.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/cpukit/libcsupport/src/free.c b/cpukit/libcsupport/src/free.c
index f3d4cb8..9020958 100644
--- a/cpukit/libcsupport/src/free.c
+++ b/cpukit/libcsupport/src/free.c
@@ -40,8 +40,8 @@ void free(
   if ( !_Protected_heap_Free( RTEMS_Malloc_Heap, ptr ) ) {
     printk( "Program heap: free of bad pointer %p -- range %p - %p \n",
       ptr,
-      RTEMS_Malloc_Heap->area_begin,
-      RTEMS_Malloc_Heap->area_end
+      (void*) RTEMS_Malloc_Heap->area_begin,
+      (void*) RTEMS_Malloc_Heap->area_end
     );
   }
 
-- 
2.4.6




More information about the devel mailing list