diff options
author | Jack Lloyd <[email protected]> | 2021-06-26 08:39:50 -0400 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2021-06-26 08:39:50 -0400 |
commit | 1e6203d850066e83e7408929be5596bd73139630 (patch) | |
tree | f1aaddcc5af3b5a1d939e0938f850064d1af55e6 | |
parent | d7c7bf74bdc151537d8084c7f0f2b680ed168d85 (diff) |
Fix MSVC warning
-rw-r--r-- | src/lib/math/bigint/big_code.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/math/bigint/big_code.cpp b/src/lib/math/bigint/big_code.cpp index c31221333..a4bd03a04 100644 --- a/src/lib/math/bigint/big_code.cpp +++ b/src/lib/math/bigint/big_code.cpp @@ -20,7 +20,7 @@ std::string BigInt::to_dec_string() const secure_vector<uint8_t> digits; // (over-)estimate of the number of digits, log2(10) ~= 3.32 - digits.reserve(3.4 * this->bits()); + digits.reserve(static_cast<size_t>(3.4 * this->bits())); while(copy > 0) { |