diff options
author | Max Kellermann <max@duempel.org> | 2013-01-29 21:11:04 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-01-29 21:11:04 +0100 |
commit | a42f9fd4e2ccb164c0634571da9903e6a2aa507a (patch) | |
tree | 104cd2ac6598f1529f03e18c8f77135998b1a55d /src/archive/Bzip2ArchivePlugin.cxx | |
parent | e66005563efb24cdeb0c034a680f6a5556265c09 (diff) |
ArchivePlugin: scan_next() returns const string
Diffstat (limited to 'src/archive/Bzip2ArchivePlugin.cxx')
-rw-r--r-- | src/archive/Bzip2ArchivePlugin.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/archive/Bzip2ArchivePlugin.cxx b/src/archive/Bzip2ArchivePlugin.cxx index b344f118..4b0d5223 100644 --- a/src/archive/Bzip2ArchivePlugin.cxx +++ b/src/archive/Bzip2ArchivePlugin.cxx @@ -158,11 +158,11 @@ bz2_scan_reset(struct archive_file *file) context->reset = true; } -static char * +static const char * bz2_scan_next(struct archive_file *file) { Bzip2ArchiveFile *context = (Bzip2ArchiveFile *) file; - char *name = NULL; + const char *name = NULL; if (context->reset) { name = context->name; |