commit a94fcfe01dd0d552159157c82d0ac062e9c1171c
Author: Turo Lamminen <turotl@gmail.com>
AuthorDate: Sat Feb 17 15:57:06 2018 +0200
Commit: Turo Lamminen <turotl@gmail.com>
CommitDate: Sat Feb 17 16:04:18 2018 +0200
Fix format string problem in I_Realloc
---
src/i_system.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/i_system.c b/src/i_system.c
index 7cb55c4c..ad60dc46 100644
--- a/src/i_system.c
+++ b/src/i_system.c
@@ -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;