mirror of
https://github.com/veracrypt/VeraCrypt.git
synced 2026-05-16 09:31:31 +00:00
wxWidgets 3.0 compatibility modifications
This commit is contained in:
@@ -116,7 +116,7 @@ namespace TrueCrypt
|
||||
for (size_t i = 0; i < length && i < VolumePassword::MaxSize; ++i)
|
||||
{
|
||||
passwordBuf[i] = (wchar_t) passwordStr[i];
|
||||
const_cast <wchar_t *> (passwordStr.c_str())[i] = L'X';
|
||||
const_cast <wchar_t *> (passwordStr.wc_str())[i] = L'X';
|
||||
}
|
||||
|
||||
if (verify && verPhase)
|
||||
|
||||
Reference in New Issue
Block a user