diff options
author | Jack Lloyd <[email protected]> | 2018-12-10 10:43:19 -0500 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2018-12-10 10:43:19 -0500 |
commit | efd1d99a291738786e353e28598e86e5dd08803d (patch) | |
tree | cb8c5e59708ddd273098af8dc40193cbf8953959 /src/tests/test_tss.cpp | |
parent | 965a8bfa31553e439898100913150ea4df1f734e (diff) |
Fix some MSVC warnings
Diffstat (limited to 'src/tests/test_tss.cpp')
-rw-r--r-- | src/tests/test_tss.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tests/test_tss.cpp b/src/tests/test_tss.cpp index a4aed6b47..52c952b3a 100644 --- a/src/tests/test_tss.cpp +++ b/src/tests/test_tss.cpp @@ -118,7 +118,8 @@ class TSS_Generation_Tests final : public Text_Based_Test Fixed_Output_RNG fixed_rng(rng_data); std::vector<Botan::RTSS_Share> shares = - Botan::RTSS_Share::split(M, N, input.data(), input.size(), id, hash, fixed_rng); + Botan::RTSS_Share::split(M, N, input.data(), static_cast<uint16_t>(input.size()), + id, hash, fixed_rng); result.test_eq("Expected number of shares", shares.size(), N); |