VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Core/Unix
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2019-12-15 17:49:21 +0100
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2019-12-16 00:46:26 +0100
commita4ed6be38c58a009a480a81931676273a78e36fb (patch)
tree22f98084cc5eb20daa65e025b8bfbe5a7f7da7c8 /src/Core/Unix
parentd2c877915744ca28f0fda14e58b970a8b91eef50 (diff)
downloadVeraCrypt-a4ed6be38c58a009a480a81931676273a78e36fb.tar.gz
VeraCrypt-a4ed6be38c58a009a480a81931676273a78e36fb.zip
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/Unix')
-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 499ea439..a6485208 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