summaryrefslogtreecommitdiff
path: root/src/init1.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/init1.cc')
-rw-r--r--src/init1.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/init1.cc b/src/init1.cc
index 4a646b51..b01072a2 100644
--- a/src/init1.cc
+++ b/src/init1.cc
@@ -1517,7 +1517,7 @@ static char *my_strdup(const char *s)
* Append one string to the end of another, reallocating if
* necessary.
*/
-static void strappend(char **s, char *t)
+static void strappend(char **s, const char *t)
{
// Do we need to initialize the destination string?
if (*s == nullptr)