summaryrefslogtreecommitdiff
path: root/test/run_gunzip.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'test/run_gunzip.cxx')
-rw-r--r--test/run_gunzip.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/run_gunzip.cxx b/test/run_gunzip.cxx
index f8a0e618e..3a8619836 100644
--- a/test/run_gunzip.cxx
+++ b/test/run_gunzip.cxx
@@ -20,6 +20,7 @@
#include "fs/io/GunzipReader.hxx"
#include "fs/io/FileReader.hxx"
#include "fs/io/StdioOutputStream.hxx"
+#include "fs/NarrowPath.hxx"
#include "util/PrintException.hxx"
#include <stdio.h>
@@ -62,7 +63,7 @@ try {
return EXIT_FAILURE;
}
- Path path = Path::FromFS(argv[1]);
+ FromNarrowPath path = argv[1];
CopyGunzip(stdout, path);
return EXIT_SUCCESS;