summaryrefslogtreecommitdiffstats
path: root/libtorrent/src/storage.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libtorrent/src/storage.cpp')
-rwxr-xr-xlibtorrent/src/storage.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libtorrent/src/storage.cpp b/libtorrent/src/storage.cpp
index e1572d9a2..eda0b4368 100755
--- a/libtorrent/src/storage.cpp
+++ b/libtorrent/src/storage.cpp
@@ -525,7 +525,7 @@ namespace libtorrent
#endif
#if TORRENT_USE_WPATH
- fs::wpath file_path = safe_convert(m_save_path / file_iter->path);
+ fs::wpath file_path = safe_convert((m_save_path / file_iter->path).string());
#else
fs::path file_path = m_save_path / file_iter->path;
#endif