aboutsummaryrefslogtreecommitdiffstats
path: root/src/tag/ApeLoader.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/tag/ApeLoader.cxx')
-rw-r--r--src/tag/ApeLoader.cxx7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/tag/ApeLoader.cxx b/src/tag/ApeLoader.cxx
index 19f4d06d4..8251efe10 100644
--- a/src/tag/ApeLoader.cxx
+++ b/src/tag/ApeLoader.cxx
@@ -20,6 +20,7 @@
#include "config.h"
#include "ApeLoader.hxx"
#include "system/ByteOrder.hxx"
+#include "fs/FileSystem.hxx"
#include <glib.h>
@@ -102,11 +103,9 @@ ape_scan_internal(FILE *fp, ApeTagCallback callback)
}
bool
-tag_ape_scan(const char *path_fs, ApeTagCallback callback)
+tag_ape_scan(Path path_fs, ApeTagCallback callback)
{
- FILE *fp;
-
- fp = fopen(path_fs, "rb");
+ FILE *fp = FOpen(path_fs, "rb");
if (fp == nullptr)
return false;