foxygit / doom Log in
commit 91d157f7c476f6a34871d6664856602b4a00c3e3
Author:     Turo Lamminen <turotl@gmail.com>
AuthorDate: Sat May 26 16:31:29 2018 +0300
Commit:     Turo Lamminen <turotl@gmail.com>
CommitDate: Sat May 26 16:31:29 2018 +0300

    d_iwad: Make AddIWADPath path parameter const
---
 src/d_iwad.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/d_iwad.c b/src/d_iwad.c
index c24e2c46..165068a6 100644
--- a/src/d_iwad.c
+++ b/src/d_iwad.c
@@ -571,7 +571,7 @@ static GameMission_t IdentifyIWADByName(char *name, int mask)
 // 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;