summaryrefslogtreecommitdiff
path: root/source/Host/windows/FileSystem.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/Host/windows/FileSystem.cpp')
-rw-r--r--source/Host/windows/FileSystem.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/Host/windows/FileSystem.cpp b/source/Host/windows/FileSystem.cpp
index 02b7e550f86c..9309b89f2baf 100644
--- a/source/Host/windows/FileSystem.cpp
+++ b/source/Host/windows/FileSystem.cpp
@@ -75,7 +75,7 @@ Status FileSystem::Readlink(const FileSpec &src, FileSpec &dst) {
else if (!llvm::convertWideToUTF8(buf.data(), path))
error.SetErrorString(PATH_CONVERSION_ERROR);
else
- dst.SetFile(path, false);
+ dst.SetFile(path, false, FileSpec::Style::native);
::CloseHandle(h);
return error;