diff options
author | Wolfgang Hommel <wolfgang.hommel@unibw.de> | 2022-05-08 21:20:29 +0200 |
---|---|---|
committer | Wolfgang Hommel <wolfgang.hommel@unibw.de> | 2022-05-08 21:20:29 +0200 |
commit | 75cbe8e507fa6e83a51e868b2ab9cbd0141c9e55 (patch) | |
tree | 4eead875c305185057810824715d73447aad9289 /test/libmallocintercept.c | |
parent | e8838709ead12f026dfe5b241d047c40285d0580 (diff) | |
download | libfaketime-75cbe8e507fa6e83a51e868b2ab9cbd0141c9e55.tar.gz |
silence minor type warning in libmallocintercept.c
Diffstat (limited to 'test/libmallocintercept.c')
-rw-r--r-- | test/libmallocintercept.c | 3 |
1 files changed, 2 insertions, 1 deletions
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"); |