Fix format string problem in I_Realloc

This commit is contained in:
Turo Lamminen 2018-02-17 15:57:06 +02:00
parent 30b05089f5
commit a94fcfe01d

View file

@ -335,7 +335,7 @@ void *I_Realloc(void *ptr, size_t size)
if (size != 0 && new_ptr == NULL)
{
I_Error ("I_Realloc: failed on reallocation of %i bytes", size);
I_Error ("I_Realloc: failed on reallocation of %" PRIuPTR " bytes", size);
}
return new_ptr;