shithub: choc

Download patch

ref: ccafade58683ec1e51414f3d2f09300ab737ae38
parent: f7ebac1b3c3a66f8f3ba4ab8f8b6517bcde5260d
author: Turo Lamminen <turotl@gmail.com>
date: Tue Apr 3 15:12:00 EDT 2018

doom: Fix const correctness issue in GetGameName

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