From 75cbe8e507fa6e83a51e868b2ab9cbd0141c9e55 Mon Sep 17 00:00:00 2001 From: Wolfgang Hommel Date: Sun, 8 May 2022 21:20:29 +0200 Subject: silence minor type warning in libmallocintercept.c --- test/libmallocintercept.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/libmallocintercept.c b/test/libmallocintercept.c index 0cf5aeb..a649e9e 100644 --- a/test/libmallocintercept.c +++ b/test/libmallocintercept.c @@ -74,7 +74,8 @@ void *malloc(size_t size) { } void free(void *ptr) { - print_msg("Called free() on %p from libmallocintercept...", ptr); + void *ptr2 = ptr; ptr2 -= ptr; + print_msg("Called free() on from libmallocintercept..."); poke_faketime(); print_msg("successfully\n"); -- cgit v1.2.1