VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Common/Keyfiles.c
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2023-07-02 15:25:21 +0200
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2023-07-02 15:25:21 +0200
commitd2caa772070fe510937c38c5354a15268122ea8b (patch)
tree950c46a767b978fd24ad939c827adb4343d3c26c /src/Common/Keyfiles.c
parentfe30ebe3f3a17cf7cc46ce154f736380df39f78b (diff)
downloadVeraCrypt-d2caa772070fe510937c38c5354a15268122ea8b.tar.gz
VeraCrypt-d2caa772070fe510937c38c5354a15268122ea8b.zip
Fix compiler type-cast warnings
Diffstat (limited to 'src/Common/Keyfiles.c')
-rw-r--r--src/Common/Keyfiles.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Common/Keyfiles.c b/src/Common/Keyfiles.c
index d5a2d5c2..058fa975 100644
--- a/src/Common/Keyfiles.c
+++ b/src/Common/Keyfiles.c
@@ -250,7 +250,7 @@ BOOL KeyFilesApply (HWND hwndDlg, Password *password, KeyFile *firstKeyFile, con
// Determine whether it's a security token path
try
{
- if (Token::IsKeyfilePathValid (kf->FileName, EMVSupportEnabled))
+ if (Token::IsKeyfilePathValid (kf->FileName, EMVSupportEnabled? true : false))
{
// Apply security token keyfile
vector <byte> keyfileData;