shithub: choc

Download patch

ref: 0f7cdc9530ce2fa53e2445bab30e91e2099aa838
parent: 66826f560accd60210c4aaf6756cccc238398e96
author: Turo Lamminen <turol@iki.fi>
date: Sat Aug 28 12:48:18 EDT 2021

iwad: Fix const correctness issue in AddXdgDirs

--- a/src/d_iwad.c
+++ b/src/d_iwad.c
@@ -634,7 +634,7 @@
 // <http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html>
 static void AddXdgDirs(void)
 {
-    char *env;
+    const char *env;
     char *tmp_env;
 
     // Quote: