diff options
author | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2019-12-15 17:49:21 +0100 |
---|---|---|
committer | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2019-12-16 00:46:26 +0100 |
commit | a4ed6be38c58a009a480a81931676273a78e36fb (patch) | |
tree | 22f98084cc5eb20daa65e025b8bfbe5a7f7da7c8 | |
parent | d2c877915744ca28f0fda14e58b970a8b91eef50 (diff) | |
download | VeraCrypt-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)
-rw-r--r-- | src/Core/Unix/CoreUnix.cpp | 2 |
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 |