From 536b80cac2fe081a63dd7b8372e3d7cd0d77ad17 Mon Sep 17 00:00:00 2001 From: William Woodall Date: Mon, 14 Dec 2015 13:11:41 -0800 Subject: [PATCH] fixup warnings --- rcl/test/memory_tools_common.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rcl/test/memory_tools_common.cpp b/rcl/test/memory_tools_common.cpp index 6e3d016..ab49f65 100644 --- a/rcl/test/memory_tools_common.cpp +++ b/rcl/test/memory_tools_common.cpp @@ -63,7 +63,7 @@ custom_malloc(size_t size) } void * memory = malloc(size); MALLOC_PRINTF( - "malloc expected(%s): %p %d\n", malloc_expected ? "true " : "false", memory, size); + "malloc expected(%s): %p %zu\n", malloc_expected ? "true " : "false", memory, size); return memory; } @@ -103,7 +103,7 @@ custom_realloc(void * memory_in, size_t size) } void * memory = realloc(memory_in, size); MALLOC_PRINTF( - "realloc expected(%s): %p %p %d\n", + "realloc expected(%s): %p %p %zu\n", malloc_expected ? "true " : "false", memory_in, memory, size); return memory; }