aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--zen/cmds/run.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/zen/cmds/run.cpp b/zen/cmds/run.cpp
index a5a372210..0fde4648a 100644
--- a/zen/cmds/run.cpp
+++ b/zen/cmds/run.cpp
@@ -129,7 +129,7 @@ RunCommand::Run(const ZenCliOptions& GlobalOptions, int argc, char** argv)
for (const auto& Kv : Visit.m_Files)
{
PrepReq.BeginObject();
- PrepReq << "file" << zen::WideToUtf8(Kv.first) << "size" << Kv.second.Size << "hash" << Kv.second.Hash;
+ PrepReq << "file" << zen::PathToUtf8(Kv.first) << "size" << Kv.second.Size << "hash" << Kv.second.Hash;
PrepReq.EndObject();
}
PrepReq.EndArray();