summaryrefslogtreecommitdiffstats
path: root/cpukit/libcsupport/src/free.c
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2016-05-23 15:28:10 +1000
committerChris Johns <chrisj@rtems.org>2016-05-25 15:47:34 +1000
commit75e3e0ebc1b72b3170ddb878056b8b3895ac0d7f (patch)
tree079469a86e9a50a116b22de3f9d1c7750d7e0e7e /cpukit/libcsupport/src/free.c
parentbsp/shared: Fix printk warnings. (diff)
downloadrtems-75e3e0ebc1b72b3170ddb878056b8b3895ac0d7f.tar.bz2
libcsupport: Fix printk warnings.
Diffstat (limited to 'cpukit/libcsupport/src/free.c')
-rw-r--r--cpukit/libcsupport/src/free.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/libcsupport/src/free.c b/cpukit/libcsupport/src/free.c
index f3d4cb824b..90209580db 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
);
}