From 38f053a5f8cb1ca351ba52d76c15491d63fd3eb0 Mon Sep 17 00:00:00 2001 From: Jack Lloyd Date: Sun, 30 Sep 2018 16:45:20 -0400 Subject: Fix some MSVC warnings --- src/lib/math/numbertheory/powm_fw.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib/math/numbertheory/powm_fw.cpp') diff --git a/src/lib/math/numbertheory/powm_fw.cpp b/src/lib/math/numbertheory/powm_fw.cpp index 85a0364b5..c326ffa44 100644 --- a/src/lib/math/numbertheory/powm_fw.cpp +++ b/src/lib/math/numbertheory/powm_fw.cpp @@ -25,7 +25,7 @@ void Fixed_Window_Exponentiator::set_base(const BigInt& base) { m_window_bits = Power_Mod::window_bits(m_exp.bits(), base.bits(), m_hints); - m_g.resize(1U << m_window_bits); + m_g.resize(static_cast(1) << m_window_bits); m_g[0] = 1; m_g[1] = base; -- cgit v1.2.3