aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/math/numbertheory/powm_fw.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/math/numbertheory/powm_fw.cpp')
-rw-r--r--src/lib/math/numbertheory/powm_fw.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/math/numbertheory/powm_fw.cpp b/src/lib/math/numbertheory/powm_fw.cpp
index 770f345c6..ea3f5ecf0 100644
--- a/src/lib/math/numbertheory/powm_fw.cpp
+++ b/src/lib/math/numbertheory/powm_fw.cpp
@@ -26,7 +26,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((1 << m_window_bits));
+ m_g.resize((1U << m_window_bits));
m_g[0] = 1;
m_g[1] = base;