From 1b8a1d4140c58030bc71665eef4dc3485812817e Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Thu, 17 Oct 2013 00:35:58 +0200 Subject: ArchiveLookup: return const strings --- src/ArchiveLookup.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/ArchiveLookup.cxx') diff --git a/src/ArchiveLookup.cxx b/src/ArchiveLookup.cxx index 8cd87f5ec..7cea655fd 100644 --- a/src/ArchiveLookup.cxx +++ b/src/ArchiveLookup.cxx @@ -29,7 +29,9 @@ #include #include -bool archive_lookup(char *pathname, char **archive, char **inpath, char **suffix) +bool +archive_lookup(char *pathname, const char **archive, + const char **inpath, const char **suffix) { char *pathdupe; int len, idx; -- cgit v1.2.3