aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/pbkdf
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2018-09-30 16:45:20 -0400
committerJack Lloyd <[email protected]>2018-09-30 16:45:20 -0400
commit38f053a5f8cb1ca351ba52d76c15491d63fd3eb0 (patch)
tree13c06b095059af302b8e0d9562a4aa7a9a6e73b1 /src/lib/pbkdf
parente9ba0d9cdf0726b357d7aeca14ef43f1d10be1e8 (diff)
Fix some MSVC warnings
Diffstat (limited to 'src/lib/pbkdf')
-rw-r--r--src/lib/pbkdf/pbkdf2/pbkdf2.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/pbkdf/pbkdf2/pbkdf2.cpp b/src/lib/pbkdf/pbkdf2/pbkdf2.cpp
index 65e8a9503..6fc007bf3 100644
--- a/src/lib/pbkdf/pbkdf2/pbkdf2.cpp
+++ b/src/lib/pbkdf/pbkdf2/pbkdf2.cpp
@@ -178,7 +178,7 @@ PBKDF* PKCS5_PBKDF2::clone() const
PBKDF2::PBKDF2(const MessageAuthenticationCode& prf, size_t olen, std::chrono::milliseconds msec) :
m_prf(prf.clone()),
- m_iterations(tune_pbkdf2(*m_prf, olen, msec.count()))
+ m_iterations(tune_pbkdf2(*m_prf, olen, static_cast<uint32_t>(msec.count())))
{}
std::string PBKDF2::to_string() const