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;
keyfile.Open (keyfilePath, File::CreateWrite);
keyfile.Write (keyfileBuffer);