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

    d_iwad: Make DirIsFile 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 d35ab1da..2087929e 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(char *path, char *filename)
+static boolean DirIsFile(const char *path, char *filename)
 {
     size_t path_len;
     size_t filename_len;