shithub: choc

Download patch

ref: 2aa165bd3b584768cd99c838ea07098a55ec2007
parent: 91d157f7c476f6a34871d6664856602b4a00c3e3
author: Turo Lamminen <turotl@gmail.com>
date: Sat May 26 12:31:55 EDT 2018

d_iwad: Make AddIWADPath suffix parameter const

--- a/src/d_iwad.c
+++ b/src/d_iwad.c
@@ -571,7 +571,7 @@
 // Add IWAD directories parsed from splitting a path string containing
 // paths separated by PATH_SEPARATOR. 'suffix' is a string to concatenate
 // to the end of the paths before adding them.
-static void AddIWADPath(const char *path, char *suffix)
+static void AddIWADPath(const char *path, const char *suffix)
 {
     char *left, *p, *dup_path;