VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Core
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2019-12-15 16:49:21 (GMT)
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2019-12-15 23:46:26 (GMT)
commita4ed6be38c58a009a480a81931676273a78e36fb (patch)
tree22f98084cc5eb20daa65e025b8bfbe5a7f7da7c8 /src/Core
parentd2c877915744ca28f0fda14e58b970a8b91eef50 (diff)
downloadVeraCrypt-a4ed6be38c58a009a480a81931676273a78e36fb.zip
VeraCrypt-a4ed6be38c58a009a480a81931676273a78e36fb.tar.gz
MacOSX: fix compilation error caused by missing StringConverter::ToWide method that takes a size_t argument (we cast to uint32)
Diffstat (limited to 'src/Core')
-rw-r--r--src/Core/Unix/CoreUnix.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Core/Unix/CoreUnix.cpp b/src/Core/Unix/CoreUnix.cpp
index 499ea43..a648520 100644
--- a/src/Core/Unix/CoreUnix.cpp
+++ b/src/Core/Unix/CoreUnix.cpp
@@ -477,7 +477,7 @@ namespace VeraCrypt
const uint32 devSectorSize = volume->GetFile()->GetDeviceSectorSize();
const size_t volSectorSize = volume->GetSectorSize();
if (devSectorSize != volSectorSize)
- throw DeviceSectorSizeMismatch (SRC_POS, StringConverter::ToWide(devSectorSize) + L" != " + StringConverter::ToWide(volSectorSize));
+ throw DeviceSectorSizeMismatch (SRC_POS, StringConverter::ToWide(devSectorSize) + L" != " + StringConverter::ToWide((uint32) volSectorSize));
}
// Find a free mount point for FUSE service