shithub: choc

Download patch

ref: 91d157f7c476f6a34871d6664856602b4a00c3e3
parent: 5768550bf021949383c0061f795dbbda9228eda2
author: Turo Lamminen <[email protected]>
date: Sat May 26 12:31:29 EDT 2018

d_iwad: Make AddIWADPath path 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(char *path, char *suffix)
+static void AddIWADPath(const char *path, char *suffix)
 {
     char *left, *p, *dup_path;