shithub: choc

Download patch

ref: eb32583c0eff4859a20118848f6f6cf30abb875a
parent: 80f0e2302983680aec5acdc4a79f44fb0b5947a9
author: Turo Lamminen <[email protected]>
date: Sat May 2 11:17:25 EDT 2020

iwad: Fix const correctness issue in D_FindIWAD

--- a/src/d_iwad.c
+++ b/src/d_iwad.c
@@ -840,7 +840,7 @@
 char *D_FindIWAD(int mask, GameMission_t *mission)
 {
     char *result;
-    char *iwadfile;
+    const char *iwadfile;
     int iwadparm;
     int i;