mirror of
https://github.com/veracrypt/VeraCrypt
synced 2024-11-28 05:53:29 +01:00
MacOSX: fix compilation error caused by missing StringConverter::ToWide method that takes a size_t argument (we cast to uint32)
This commit is contained in:
parent
d2c8779157
commit
a4ed6be38c
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user