shithub: choc

Download patch

ref: 9afe24490333799a3cf4b237534af1275223751c
parent: 7005e9381815cb02dc62643f5a90007f8651440f
author: Turo Lamminen <[email protected]>
date: Tue Dec 11 13:35:06 EST 2018

hexen: Fix const correctness issue in GetFinaleText

--- a/src/hexen/f_finale.c
+++ b/src/hexen/f_finale.c
@@ -366,10 +366,10 @@
 
 static char *GetFinaleText(int sequence)
 {
-    char *msgLumpName;
+    const char *msgLumpName;
     int msgSize;
     int msgLump;
-    static char *winMsgLumpNames[] = {
+    static const char *winMsgLumpNames[] = {
         "win1msg",
         "win2msg",
         "win3msg"