shithub: choc

Download patch

ref: 80f0e2302983680aec5acdc4a79f44fb0b5947a9
parent: ea5677cf3760d34425ae36780d7e78c196e66b50
author: Turo Lamminen <[email protected]>
date: Sat May 2 11:08:57 EDT 2020

iwad: Fix const correctness issue in AddXdgDirs

--- a/src/d_iwad.c
+++ b/src/d_iwad.c
@@ -622,7 +622,7 @@
 
     if (env == NULL)
     {
-        char *homedir = getenv("HOME");
+        const char *homedir = getenv("HOME");
         if (homedir == NULL)
         {
             homedir = "/";