shithub: choc

Download patch

ref: a94fcfe01dd0d552159157c82d0ac062e9c1171c
parent: 30b05089f5edc8c7ab4435495efce7fa0bbb40df
author: Turo Lamminen <turotl@gmail.com>
date: Sat Feb 17 10:57:06 EST 2018

Fix format string problem in I_Realloc

--- a/src/i_system.c
+++ b/src/i_system.c
@@ -335,7 +335,7 @@
 
     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;