commit beba1a4074702949d4c6711eb6bba501df56881f
Author: Turo Lamminen <turotl@gmail.com>
AuthorDate: Tue May 15 19:12:00 2018 +0300
Commit: Turo Lamminen <turotl@gmail.com>
CommitDate: Tue May 15 19:12:00 2018 +0300
dehacked: Fix const correctness issue in DEH_snprintf
---
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 f623ac15..9263cd66 100644
--- a/src/deh_str.c
+++ b/src/deh_str.c
@@ -420,7 +420,7 @@ void DEH_fprintf(FILE *fstream, char *fmt, ...)
void DEH_snprintf(char *buffer, size_t len, char *fmt, ...)
{
va_list args;
- char *repl;
+ const char *repl;
repl = FormatStringReplacement(fmt);