1
0
mirror of https://github.com/veracrypt/VeraCrypt.git synced 2025-11-11 02:58:02 -06:00

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.

This commit is contained in:
Mounir IDRASSI
2015-07-25 13:37:12 +02:00
parent 4fcf5c921c
commit 94ccaf1ab4

View File

@@ -132,7 +132,7 @@ namespace VeraCrypt
} }
{ {
FilePath keyfilePath((const wchar_t*) keyfileName.GetFullPath()); FilePath keyfilePath((const wchar_t*) keyfileName.GetFullPath().c_str());
File keyfile; File keyfile;
keyfile.Open (keyfilePath, File::CreateWrite); keyfile.Open (keyfilePath, File::CreateWrite);
keyfile.Write (keyfileBuffer); keyfile.Write (keyfileBuffer);