VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Main/Forms/KeyfileGeneratorDialog.cpp
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2015-07-25 13:37:12 +0200
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2015-07-25 13:39:50 +0200
commit94ccaf1ab483bc391d91625a576cdc79a9015bc9 (patch)
tree3443d98a499682d140915714680e25b34d3b2153 /src/Main/Forms/KeyfileGeneratorDialog.cpp
parent4fcf5c921c2fa8ca9d793f502ad510da2013a4d3 (diff)
downloadVeraCrypt-94ccaf1ab483bc391d91625a576cdc79a9015bc9.tar.gz
VeraCrypt-94ccaf1ab483bc391d91625a576cdc79a9015bc9.zip
Linux: solve compilation error on OpenSUSE when linking against system wxWidgets. OpenSUSE enables STL in wxWidgets which causes the error because implicit casts are not available.
Diffstat (limited to 'src/Main/Forms/KeyfileGeneratorDialog.cpp')
-rw-r--r--src/Main/Forms/KeyfileGeneratorDialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Main/Forms/KeyfileGeneratorDialog.cpp b/src/Main/Forms/KeyfileGeneratorDialog.cpp
index 5a24a255..a24bd99a 100644
--- a/src/Main/Forms/KeyfileGeneratorDialog.cpp
+++ b/src/Main/Forms/KeyfileGeneratorDialog.cpp
@@ -132,7 +132,7 @@ namespace VeraCrypt
}
{
- FilePath keyfilePath((const wchar_t*) keyfileName.GetFullPath());
+ FilePath keyfilePath((const wchar_t*) keyfileName.GetFullPath().c_str());
File keyfile;
keyfile.Open (keyfilePath, File::CreateWrite);
keyfile.Write (keyfileBuffer);