shithub: choc

Download patch

ref: 7154c3d5288d90d088c689abadf063c442b21065
parent: cc95de13a3bbb823f856a541c43b837b921f355b
author: mfrancis95 <[email protected]>
date: Sun Dec 8 17:56:01 EST 2019

Fix fprintf warning in strife/p_setup.c

--- a/src/strife/p_setup.c
+++ b/src/strife/p_setup.c
@@ -695,7 +695,7 @@
     if (len > sizeof(rejectpad))
     {
         fprintf(stderr,
-                "PadRejectArray: REJECT lump too short to pad! (%i > %i)\n",
+                "PadRejectArray: REJECT lump too short to pad! (%u > %i)\n",
                 len, (int) sizeof(rejectpad));
 
         // Pad remaining space with 0 (or 0xff, if specified on command line).