shithub: choc

Download patch

ref: beba1a4074702949d4c6711eb6bba501df56881f
parent: 869f807060a3a2f777dc8293f071232ab2d60418
author: Turo Lamminen <[email protected]>
date: Tue May 15 15:12:00 EDT 2018

dehacked: Fix const correctness issue in DEH_snprintf

--- a/src/deh_str.c
+++ b/src/deh_str.c
@@ -420,7 +420,7 @@
 void DEH_snprintf(char *buffer, size_t len, char *fmt, ...)
 {
     va_list args;
-    char *repl;
+    const char *repl;
 
     repl = FormatStringReplacement(fmt);