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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user