VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Main/TextUserInterface.cpp
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2014-06-08 00:45:49 +0200
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2014-11-08 23:19:29 +0100
commit084a8ee85c24fbc7077d6c789c97aacdb31b4e39 (patch)
tree7022ec0ced1d57ca287202a772a28787e1bb2408 /src/Main/TextUserInterface.cpp
parentc386beb69c2bb2475316c085f66a91ac0d9bdc73 (diff)
downloadVeraCrypt-084a8ee85c24fbc7077d6c789c97aacdb31b4e39.tar.gz
VeraCrypt-084a8ee85c24fbc7077d6c789c97aacdb31b4e39.zip
wxWidgets 3.0 compatibility modifications
Diffstat (limited to 'src/Main/TextUserInterface.cpp')
-rw-r--r--src/Main/TextUserInterface.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Main/TextUserInterface.cpp b/src/Main/TextUserInterface.cpp
index d9e93e6f..c7af0990 100644
--- a/src/Main/TextUserInterface.cpp
+++ b/src/Main/TextUserInterface.cpp
@@ -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)