foxygit / doom Log in
commit 73d172d7302bec19c82a42d3c0e5b51f0ab50a93
Author:     Turo Lamminen <turotl@gmail.com>
AuthorDate: Tue May 15 19:09:29 2018 +0300
Commit:     Turo Lamminen <turotl@gmail.com>
CommitDate: Tue May 15 19:11:17 2018 +0300

    dehacked: Fix const correctness issue in DEH_printf
---
 src/deh_str.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/deh_str.c b/src/deh_str.c
index b60f46a0..03632e6d 100644
--- a/src/deh_str.c
+++ b/src/deh_str.c
@@ -388,7 +388,7 @@ static char *FormatStringReplacement(char *s)
 void DEH_printf(char *fmt, ...)
 {
     va_list args;
-    char *repl;
+    const char *repl;

     repl = FormatStringReplacement(fmt);