aboutsummaryrefslogtreecommitdiff
path: root/src/util/getuniquepath.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/getuniquepath.cpp')
-rw-r--r--src/util/getuniquepath.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/getuniquepath.cpp b/src/util/getuniquepath.cpp
index 6776e7785b..1d8e511c83 100644
--- a/src/util/getuniquepath.cpp
+++ b/src/util/getuniquepath.cpp
@@ -9,6 +9,6 @@
fs::path GetUniquePath(const fs::path& base)
{
FastRandomContext rnd;
- fs::path tmpFile = base / HexStr(rnd.randbytes(8));
+ fs::path tmpFile = base / fs::u8path(HexStr(rnd.randbytes(8)));
return tmpFile;
} \ No newline at end of file