diff options
author | Bardur Arantsson <bardur@scientician.net> | 2015-02-23 09:11:57 +0100 |
---|---|---|
committer | Bardur Arantsson <bardur@scientician.net> | 2015-02-23 09:11:57 +0100 |
commit | dfcb08c2e7c2e6713691b3003e51295f05e75f5a (patch) | |
tree | 5c24e4f77596ae4637f195322328c78b95418fe4 | |
parent | cf3bec7340563628689e92d3be018a25fa550dbd (diff) |
init1.c: strappend() takes a const second parameter
-rw-r--r-- | src/init1.cc | 2 |
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) |