shithub: choc

Download patch

ref: b1af844e7193df7ba6b3a8e287f2bb013ac0005d
parent: 5ea48856ccab76d1b94ebbf94a30d2e3a172a722
author: Turo Lamminen <[email protected]>
date: Sat Mar 31 13:44:32 EDT 2018

d_iwad: Make DirIsFile path parameter const

--- a/src/d_iwad.c
+++ b/src/d_iwad.c
@@ -448,7 +448,7 @@
 // Returns true if the specified path is a path to a file
 // of the specified name.
 
-static boolean DirIsFile(char *path, char *filename)
+static boolean DirIsFile(const char *path, char *filename)
 {
     size_t path_len;
     size_t filename_len;