commit 04535a58e80e78c32015a3af212c01c34e3e60bc
Author: Turo Lamminen <turotl@gmail.com>
AuthorDate: Tue Jan 22 19:00:00 2019 +0200
Commit: Turo Lamminen <turotl@gmail.com>
CommitDate: Tue Jan 22 19:00:00 2019 +0200
setup: Make TempFile parameter const
---
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 e3a939c6..9293d5b0 100644
--- a/src/setup/execute.c
+++ b/src/setup/execute.c
@@ -54,7 +54,7 @@ struct execute_context_s
// 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;