shithub: choc

Download patch

ref: e26d0d30a7b2809b4bef6186cbd6bea2d47fb7d5
parent: 63a6369c007c62dd5dc951906139f671f8c5410d
author: Turo Lamminen <turol@iki.fi>
date: Sat Aug 28 12:37:04 EDT 2021

iwad: Make AddIWADDir parameter const

--- a/src/d_iwad.c
+++ b/src/d_iwad.c
@@ -75,7 +75,7 @@
 static const char *iwad_dirs[MAX_IWAD_DIRS];
 static int num_iwad_dirs = 0;
 
-static void AddIWADDir(char *dir)
+static void AddIWADDir(const char *dir)
 {
     if (num_iwad_dirs < MAX_IWAD_DIRS)
     {