shithub: choc

Download patch

ref: 663f9f92a5eb6736569a915c29231773659766ae
parent: 7f9e8f65a28e8fd4e196e6ce35cf1d4b29aefff1
author: Turo Lamminen <turotl@gmail.com>
date: Sat Jul 21 12:37:32 EDT 2018

wad: Make posix MapFile filename parameter const

--- a/src/w_file_posix.c
+++ b/src/w_file_posix.c
@@ -38,7 +38,7 @@
 
 extern wad_file_class_t posix_wad_file;
 
-static void MapFile(posix_wad_file_t *wad, char *filename)
+static void MapFile(posix_wad_file_t *wad, const char *filename)
 {
     void *result;
     int protection;