shithub: choc

Download patch

ref: 6f254179fea3e1034a5bf09996f246d2af118f63
parent: 9b90534e4b0a8a88c5817c613f9184820a1eabad
author: Turo Lamminen <[email protected]>
date: Tue Dec 4 13:53:19 EST 2018

hexen: Make ST_RealMessage message parameter const

--- a/src/hexen/st_start.c
+++ b/src/hexen/st_start.c
@@ -278,7 +278,7 @@
 //
 //==========================================================================
 
-void ST_RealMessage(char *message, ...)
+void ST_RealMessage(const char *message, ...)
 {
     va_list argptr;
 
--- a/src/hexen/st_start.h
+++ b/src/hexen/st_start.h
@@ -29,7 +29,7 @@
 extern void ST_Init(void);
 extern void ST_Done(void);
 extern void ST_Message(const char *message, ...) PRINTF_ATTR(1, 2);
-extern void ST_RealMessage(char *message, ...) PRINTF_ATTR(1, 2);
+extern void ST_RealMessage(const char *message, ...) PRINTF_ATTR(1, 2);
 extern void ST_Progress(void);
 extern void ST_NetProgress(void);
 extern void ST_NetDone(void);