Skip to content

Commit

Permalink
silence minor type warning in libmallocintercept.c
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfcw committed May 8, 2022
1 parent e883870 commit 75cbe8e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/libmallocintercept.c
Original file line number Diff line number Diff line change
Expand Up @@ -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");

Expand Down

0 comments on commit 75cbe8e

Please sign in to comment.