shithub: choc

Download patch

ref: 04535a58e80e78c32015a3af212c01c34e3e60bc
parent: 3171e5189ec9e1102cf0779ad5a3f7a231489d57
author: Turo Lamminen <turotl@gmail.com>
date: Tue Jan 22 14:00:00 EST 2019

setup: Make TempFile parameter const

--- a/src/setup/execute.c
+++ b/src/setup/execute.c
@@ -54,7 +54,7 @@
 // Returns the path to a temporary file of the given name, stored
 // inside the system temporary directory.
 
-static char *TempFile(char *s)
+static char *TempFile(const char *s)
 {
     const char *tempdir;