aboutsummaryrefslogtreecommitdiffstats
path: root/src/archive/iso9660_archive_plugin.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-12-16 16:25:02 +0100
committerMax Kellermann <max@duempel.org>2009-12-16 17:09:29 +0100
commit74156d5bed810209a777ba6ade7ef279691f3091 (patch)
treea2fc50863ad818e3c33ee0867a5cf0b988aa22c3 /src/archive/iso9660_archive_plugin.c
parentb04adde7ab6a2d69272f10d98def072e346156df (diff)
downloadmpd-74156d5bed810209a777ba6ade7ef279691f3091.tar.gz
mpd-74156d5bed810209a777ba6ade7ef279691f3091.tar.xz
mpd-74156d5bed810209a777ba6ade7ef279691f3091.zip
archive_plugin: pass const string to method open()
Diffstat (limited to 'src/archive/iso9660_archive_plugin.c')
-rw-r--r--src/archive/iso9660_archive_plugin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/archive/iso9660_archive_plugin.c b/src/archive/iso9660_archive_plugin.c
index 440393e41..0c21d5128 100644
--- a/src/archive/iso9660_archive_plugin.c
+++ b/src/archive/iso9660_archive_plugin.c
@@ -88,7 +88,7 @@ listdir_recur(const char *psz_path, struct iso9660_archive_file *context)
}
static struct archive_file *
-iso9660_archive_open(char * pathname)
+iso9660_archive_open(const char *pathname)
{
struct iso9660_archive_file *context =
g_new(struct iso9660_archive_file, 1);