Fixed pointer to int casting

This commit is contained in:
2023-01-28 09:11:38 +00:00
parent ebbcba1b16
commit aeda0a0d94
2 changed files with 2 additions and 2 deletions

View File

@@ -32,7 +32,7 @@ static void* trackerAllocator(void* pointer, size_t oldSize, size_t newSize) {
void* mem = realloc(pointer, newSize);
if (mem == NULL) {
fprintf(stderr, TOY_CC_ERROR "[tracker] Memory allocation error (requested %d for %ld, replacing %d)\n" TOY_CC_RESET, (int)newSize, (long int)pointer, (int)oldSize);
fprintf(stderr, TOY_CC_ERROR "[internal] Memory allocation error (requested %d, replacing %d)\n" TOY_CC_RESET, (int)newSize, (int)oldSize);
exit(-1);
}