ref: 72b7843c8f54936f4cfc3b7d1bf0b3b8df5401e4
parent: a599e667ad1e92b0f47cc4acec749bb3e35f94c1
author: Turo Lamminen <[email protected]>
date: Tue May 15 15:02:40 EDT 2018
d_iwad: Make CheckDirectoryHasIWAD iwadname 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(const char *dir, char *iwadname)
+static char *CheckDirectoryHasIWAD(const char *dir, const char *iwadname)
{
char *filename;
char *probe;