diff options
author | Jack Lloyd <[email protected]> | 2018-09-30 16:45:20 -0400 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2018-09-30 16:45:20 -0400 |
commit | 38f053a5f8cb1ca351ba52d76c15491d63fd3eb0 (patch) | |
tree | 13c06b095059af302b8e0d9562a4aa7a9a6e73b1 /src/lib/math/numbertheory/nistp_redc.cpp | |
parent | e9ba0d9cdf0726b357d7aeca14ef43f1d10be1e8 (diff) |
Fix some MSVC warnings
Diffstat (limited to 'src/lib/math/numbertheory/nistp_redc.cpp')
-rw-r--r-- | src/lib/math/numbertheory/nistp_redc.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/math/numbertheory/nistp_redc.cpp b/src/lib/math/numbertheory/nistp_redc.cpp index 1c2855784..ba0c5142d 100644 --- a/src/lib/math/numbertheory/nistp_redc.cpp +++ b/src/lib/math/numbertheory/nistp_redc.cpp @@ -43,7 +43,7 @@ void redc_p521(BigInt& x, secure_vector<word>& ws) BOTAN_ASSERT_EQUAL(carry, 0, "Final carry in P-521 reduction"); // Now find the actual carry in bit 522 - const uint8_t bit_522_set = x.word_at(p_full_words) >> (p_top_bits); + const word bit_522_set = x.word_at(p_full_words) >> p_top_bits; #if (BOTAN_MP_WORD_BITS == 64) static const word p521_words[9] = { |