silence minor type warning in libmallocintercept.c

This commit is contained in:
Wolfgang Hommel
2022-05-08 21:05:10 +02:00
parent 141d1a7a87
commit bf3a08b04d

View File

@@ -73,11 +73,11 @@ void *malloc(size_t size) {
return actual_malloc(size);
}
void free(void *) {
void free(void *ptr) {
void *ptr2 = ptr + 1;
print_msg("Called free() from libmallocintercept...");
poke_faketime();
print_msg("successfully\n");
/* We cannot actually free memory */
}