shithub: choc

Download patch

ref: 63a6369c007c62dd5dc951906139f671f8c5410d
parent: 5ccf89a00d7be33b1934d22a9eb8d82a2be153c4
author: Turo Lamminen <[email protected]>
date: Sat Aug 28 12:23:50 EDT 2021

iwad: Make iwad_dirs contents const

--- a/src/d_iwad.c
+++ b/src/d_iwad.c
@@ -72,7 +72,7 @@
 #define MAX_IWAD_DIRS 128
 
 static boolean iwad_dirs_built = false;
-static char *iwad_dirs[MAX_IWAD_DIRS];
+static const char *iwad_dirs[MAX_IWAD_DIRS];
 static int num_iwad_dirs = 0;
 
 static void AddIWADDir(char *dir)