ref: 3bbcfdca7dffa5b57b11dea0222b80be779aeb5a
parent: 3413c2cd37dc52e2f1e1caabdf380c4dc8752180
author: Turo Lamminen <[email protected]>
date: Sat May 26 12:27:15 EDT 2018
d_iwad: Make SearchDirectoryForIWAD dir parameter const
--- a/src/d_iwad.c
+++ b/src/d_iwad.c
@@ -504,7 +504,7 @@
// Search a directory to try to find an IWAD
// Returns the location of the IWAD if found, otherwise NULL.
-static char *SearchDirectoryForIWAD(char *dir, int mask, GameMission_t *mission)
+static char *SearchDirectoryForIWAD(const char *dir, int mask, GameMission_t *mission)
{
char *filename;
size_t i;