foxygit / doom Log in
commit a30921a54c5921b6882f14c22ecd61c0721ad719
Author:     Turo Lamminen <turotl@gmail.com>
AuthorDate: Tue May 15 19:28:20 2018 +0300
Commit:     Turo Lamminen <turotl@gmail.com>
CommitDate: Tue May 15 19:28:20 2018 +0300

    strife: Fix const correctness issues in HU_addMessage
---
 src/strife/hu_stuff.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/strife/hu_stuff.c b/src/strife/hu_stuff.c
index 28fa3114..2e69797f 100644
--- a/src/strife/hu_stuff.c
+++ b/src/strife/hu_stuff.c
@@ -317,8 +317,8 @@ void HU_addMessage(char *prefix, char *message)
 {
     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