shithub: choc

Download patch

ref: a30921a54c5921b6882f14c22ecd61c0721ad719
parent: b262a37ca3d6f60e9cdfa5111c21d0291923ffbb
author: Turo Lamminen <turotl@gmail.com>
date: Tue May 15 15:28:20 EDT 2018

strife: Fix const correctness issues in HU_addMessage

--- a/src/strife/hu_stuff.c
+++ b/src/strife/hu_stuff.c
@@ -317,8 +317,8 @@
 {
     char  c;         // eax
     int   width = 0; // edx
-    char *rover1;    // ebx (in first loop)
-    char *rover2;    // ecx (in second loop)
+    const char *rover1;    // ebx (in first loop)
+    const char *rover2;    // ecx (in second loop)
     char *bufptr;    // ebx (in second loop)
     char buffer[HU_MAXLINELENGTH+2];  // esp+52h