From 833ca1e35076aaa850812e6a9e96dd2ec20ee2e9 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Fri, 22 Dec 2023 18:05:37 +0100 Subject: [PATCH] test/dump_rva2: fix TCHAR/char confusion on Windows --- test/dump_rva2.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/dump_rva2.cxx b/test/dump_rva2.cxx index 8287a79c7..83b7837c7 100644 --- a/test/dump_rva2.cxx +++ b/test/dump_rva2.cxx @@ -7,6 +7,7 @@ #include "tag/ReplayGainInfo.hxx" #include "thread/Mutex.hxx" #include "fs/Path.hxx" +#include "fs/NarrowPath.hxx" #include "input/InputStream.hxx" #include "input/LocalOpen.hxx" #include "util/PrintException.hxx" @@ -47,7 +48,7 @@ try { return EXIT_FAILURE; } - const Path path = Path::FromFS(argv[1]); + const FromNarrowPath path = argv[1]; Mutex mutex;