commit 72b7843c8f54936f4cfc3b7d1bf0b3b8df5401e4
Author: Turo Lamminen <turotl@gmail.com>
AuthorDate: Tue May 15 19:02:40 2018 +0300
Commit: Turo Lamminen <turotl@gmail.com>
CommitDate: Tue May 15 19:02:40 2018 +0300
d_iwad: Make CheckDirectoryHasIWAD iwadname 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 926972c1..ab68c1b6 100644
--- a/src/d_iwad.c
+++ b/src/d_iwad.c
@@ -465,7 +465,7 @@ static boolean DirIsFile(const char *path, const char *filename)
// file, returning the full path to the IWAD if found, or NULL
// if not found.
-static char *CheckDirectoryHasIWAD(const char *dir, char *iwadname)
+static char *CheckDirectoryHasIWAD(const char *dir, const char *iwadname)
{
char *filename;
char *probe;