ref: a599e667ad1e92b0f47cc4acec749bb3e35f94c1
parent: f2b49015d54806681e98eb7b7f19ae7001d58011
author: Turo Lamminen <[email protected]>
date: Tue May 15 14:54:36 EDT 2018
d_iwad: Make CheckDirectoryHasIWAD dir parameter const
--- a/src/d_iwad.c
+++ b/src/d_iwad.c
@@ -465,7 +465,7 @@
// file, returning the full path to the IWAD if found, or NULL
// if not found.
-static char *CheckDirectoryHasIWAD(char *dir, char *iwadname)
+static char *CheckDirectoryHasIWAD(const char *dir, char *iwadname)
{
char *filename;
char *probe;