shithub: choc

Download patch

ref: 0d1e1982902dbfd05e32e41cd233bbd1ea151d89
parent: 67bab2b5a51d977816d9314af9ede63b6ff8b002
author: Turo Lamminen <turotl@gmail.com>
date: Tue May 15 15:32:23 EDT 2018

strife: Make HU_addMessage message parameter const

--- a/src/strife/hu_stuff.c
+++ b/src/strife/hu_stuff.c
@@ -313,7 +313,7 @@
 //
 //  Fastcall Registers:   edx          ebx
 //      Temp Registers:   esi          edi
-void HU_addMessage(const char *prefix, char *message)
+void HU_addMessage(const char *prefix, const char *message)
 {
     char  c;         // eax
     int   width = 0; // edx