shithub: choc

Download patch

ref: 658479b48afa384c0d025a1e6213329baad1485d
parent: a94fcfe01dd0d552159157c82d0ac062e9c1171c
author: Turo Lamminen <turotl@gmail.com>
date: Sat Feb 17 11:10:37 EST 2018

Fix format string problem in M_StringDuplicate

--- a/src/m_misc.c
+++ b/src/m_misc.c
@@ -384,7 +384,7 @@
 
     if (result == NULL)
     {
-        I_Error("Failed to duplicate string (length %i)\n",
+        I_Error("Failed to duplicate string (length %" PRIuPTR ")\n",
                 strlen(orig));
     }