summaryrefslogtreecommitdiff
path: root/src/init1.cc
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2015-02-23 09:11:57 +0100
committerBardur Arantsson <bardur@scientician.net>2015-02-23 09:11:57 +0100
commitdfcb08c2e7c2e6713691b3003e51295f05e75f5a (patch)
tree5c24e4f77596ae4637f195322328c78b95418fe4 /src/init1.cc
parentcf3bec7340563628689e92d3be018a25fa550dbd (diff)
init1.c: strappend() takes a const second parameter
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 4a646b5..b01072a 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)