aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/math/numbertheory/powm_fw.cpp
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2016-12-18 16:53:10 -0500
committerJack Lloyd <[email protected]>2016-12-18 16:53:25 -0500
commit5eca80aa3336dc49c721e9c6404f531f2e290537 (patch)
tree645c73ec295a5a34f25d99903b6d9fa9751e86d3 /src/lib/math/numbertheory/powm_fw.cpp
parentc1dd21253c1f3188ff45d3ad47698efd08235ae8 (diff)
parentf3cb3edb512bdcab498d825886c3366c341b3f78 (diff)
Merge GH #771 Use cstdint integer types
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 7d69a2602..770f345c6 100644
--- a/src/lib/math/numbertheory/powm_fw.cpp
+++ b/src/lib/math/numbertheory/powm_fw.cpp
@@ -48,7 +48,7 @@ BigInt Fixed_Window_Exponentiator::execute() const
for(size_t j = 0; j != m_window_bits; ++j)
x = m_reducer.square(x);
- const u32bit nibble = m_exp.get_substring(m_window_bits*(i-1), m_window_bits);
+ const uint32_t nibble = m_exp.get_substring(m_window_bits*(i-1), m_window_bits);
x = m_reducer.multiply(x, m_g[nibble]);
}