fixup warnings
This commit is contained in:
parent
4ccaefb602
commit
536b80cac2
1 changed files with 2 additions and 2 deletions
|
@ -63,7 +63,7 @@ custom_malloc(size_t size)
|
||||||
}
|
}
|
||||||
void * memory = malloc(size);
|
void * memory = malloc(size);
|
||||||
MALLOC_PRINTF(
|
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;
|
return memory;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -103,7 +103,7 @@ custom_realloc(void * memory_in, size_t size)
|
||||||
}
|
}
|
||||||
void * memory = realloc(memory_in, size);
|
void * memory = realloc(memory_in, size);
|
||||||
MALLOC_PRINTF(
|
MALLOC_PRINTF(
|
||||||
"realloc expected(%s): %p %p %d\n",
|
"realloc expected(%s): %p %p %zu\n",
|
||||||
malloc_expected ? "true " : "false", memory_in, memory, size);
|
malloc_expected ? "true " : "false", memory_in, memory, size);
|
||||||
return memory;
|
return memory;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue