shithub: choc

Download patch

ref: 32b9a6160fbb34851bfb83ac6213c6f604e783d3
parent: 333de63bfa458db3a2aef351d2d4c4827e63fc2f
author: Turo Lamminen <[email protected]>
date: Tue May 15 15:53:58 EDT 2018

strife: Fix const correctness issue in GetGameName

--- a/src/strife/d_main.c
+++ b/src/strife/d_main.c
@@ -774,7 +774,7 @@
 static char *GetGameName(char *gamename)
 {
     size_t i;
-    char *deh_sub;
+    const char *deh_sub;
     
     for (i=0; i<arrlen(banners); ++i)
     {