From fe7c6fee348a3263ce0c97a83547749725f681cb Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sat, 8 Feb 2014 13:21:50 +0100 Subject: ArchivePlugin: pass Path to open() --- src/input/plugins/ArchiveInputPlugin.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/input/plugins') diff --git a/src/input/plugins/ArchiveInputPlugin.cxx b/src/input/plugins/ArchiveInputPlugin.cxx index 8e1b216d8..f49669674 100644 --- a/src/input/plugins/ArchiveInputPlugin.cxx +++ b/src/input/plugins/ArchiveInputPlugin.cxx @@ -26,6 +26,7 @@ #include "archive/ArchiveFile.hxx" #include "../InputPlugin.hxx" #include "fs/Traits.hxx" +#include "fs/Path.hxx" #include "util/Alloc.hxx" #include "Log.hxx" @@ -69,7 +70,7 @@ input_archive_open(const char *pathname, return nullptr; } - auto file = archive_file_open(arplug, archive, error); + auto file = archive_file_open(arplug, Path::FromFS(archive), error); if (file == nullptr) { free(pname); return nullptr; -- cgit v1.2.3