aboutsummaryrefslogtreecommitdiffstats
path: root/src/math/numbertheory/ressol.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/math/numbertheory/ressol.cpp')
-rw-r--r--src/math/numbertheory/ressol.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/math/numbertheory/ressol.cpp b/src/math/numbertheory/ressol.cpp
index 4696168b8..2e01406f8 100644
--- a/src/math/numbertheory/ressol.cpp
+++ b/src/math/numbertheory/ressol.cpp
@@ -32,7 +32,7 @@ BigInt ressol(const BigInt& a, const BigInt& p)
if(p % 4 == 3)
return power_mod(a, ((p+1) >> 2), p);
- u32bit s = low_zero_bits(p - 1);
+ size_t s = low_zero_bits(p - 1);
BigInt q = p >> s;
q -= 1;
@@ -58,7 +58,7 @@ BigInt ressol(const BigInt& a, const BigInt& p)
{
q = n;
- u32bit i = 0;
+ size_t i = 0;
while(q != 1)
{
q = mod_p.square(q);