foxygit / doom Log in
commit bafe7eb1b9d1ebe5864b397c1c372ec4cb3b0188
Author:     Turo Lamminen <turotl@gmail.com>
AuthorDate: Sat Mar 31 17:45:07 2018 +0300
Commit:     Turo Lamminen <turotl@gmail.com>
CommitDate: Sat Mar 31 17:45:07 2018 +0300

    d_iwad: Make DirIsFile filename 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 2087929e..be5c751b 100644
--- a/src/d_iwad.c
+++ b/src/d_iwad.c
@@ -448,7 +448,7 @@ static void CheckDOSDefaults(void)
 // Returns true if the specified path is a path to a file
 // of the specified name.

-static boolean DirIsFile(const char *path, char *filename)
+static boolean DirIsFile(const char *path, const char *filename)
 {
     size_t path_len;
     size_t filename_len;