VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Main
diff options
context:
space:
mode:
Diffstat (limited to 'src/Main')
-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);