shithub: choc

Download patch

ref: 3171e5189ec9e1102cf0779ad5a3f7a231489d57
parent: efc804dc55aabdb068dce51f05fbd04ec4aacdbe
author: Turo Lamminen <turotl@gmail.com>
date: Tue Jan 22 13:57:40 EST 2019

setup: Fix const correctness issue in TempFile

--- a/src/setup/execute.c
+++ b/src/setup/execute.c
@@ -56,7 +56,7 @@
 
 static char *TempFile(char *s)
 {
-    char *tempdir;
+    const char *tempdir;
 
 #ifdef _WIN32
     // Check the TEMP environment variable to find the location.