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

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