VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Common/EMVCard.cpp
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/EMVCard.cpp
parentfe30ebe3f3a17cf7cc46ce154f736380df39f78b (diff)
downloadVeraCrypt-d2caa772070fe510937c38c5354a15268122ea8b.tar.gz
VeraCrypt-d2caa772070fe510937c38c5354a15268122ea8b.zip
Fix compiler type-cast warnings
Diffstat (limited to 'src/Common/EMVCard.cpp')
-rw-r--r--src/Common/EMVCard.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Common/EMVCard.cpp b/src/Common/EMVCard.cpp
index 72c0952b..172a9628 100644
--- a/src/Common/EMVCard.cpp
+++ b/src/Common/EMVCard.cpp
@@ -500,7 +500,7 @@ namespace VeraCrypt
panData = *panNode->Value.get();
panData = vector<byte>(panData.rbegin(), panData.rbegin() + 2); // only interested in last digits
std::swap(panData[0], panData[1]);
- lastPANDigits = ArrayToHexWideString(panData.data(), panData.size());
+ lastPANDigits = ArrayToHexWideString(panData.data(), (int) panData.size());
}
}
}