diff options
author | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2015-07-25 13:37:12 +0200 |
---|---|---|
committer | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2015-07-25 13:39:50 +0200 |
commit | 94ccaf1ab483bc391d91625a576cdc79a9015bc9 (patch) | |
tree | 3443d98a499682d140915714680e25b34d3b2153 /src/Main/Forms/KeyfileGeneratorDialog.cpp | |
parent | 4fcf5c921c2fa8ca9d793f502ad510da2013a4d3 (diff) | |
download | VeraCrypt-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.cpp | 2 |
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 @@ -131,9 +131,9 @@ namespace VeraCrypt return; } { - 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); } |