commit 3171e5189ec9e1102cf0779ad5a3f7a231489d57
Author: Turo Lamminen <turotl@gmail.com>
AuthorDate: Tue Jan 22 18:57:40 2019 +0200
Commit: Turo Lamminen <turotl@gmail.com>
CommitDate: Tue Jan 22 18:57:40 2019 +0200
setup: Fix const correctness issue in TempFile
---
src/setup/execute.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/setup/execute.c b/src/setup/execute.c
index f2377f61..e3a939c6 100644
--- a/src/setup/execute.c
+++ b/src/setup/execute.c
@@ -56,7 +56,7 @@ struct execute_context_s
static char *TempFile(char *s)
{
- char *tempdir;
+ const char *tempdir;
#ifdef _WIN32
// Check the TEMP environment variable to find the location.