diff options
Diffstat (limited to '')
-rw-r--r-- | src/input/plugins/ArchiveInputPlugin.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
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; |