aboutsummaryrefslogtreecommitdiffstats
path: root/src/math/numbertheory/jacobi.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/math/numbertheory/jacobi.cpp')
-rw-r--r--src/math/numbertheory/jacobi.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/math/numbertheory/jacobi.cpp b/src/math/numbertheory/jacobi.cpp
index 2ad05ff71..fcccc80e5 100644
--- a/src/math/numbertheory/jacobi.cpp
+++ b/src/math/numbertheory/jacobi.cpp
@@ -34,7 +34,7 @@ s32bit jacobi(const BigInt& a, const BigInt& n)
if(x.is_zero())
return 0;
- u32bit shifts = low_zero_bits(x);
+ size_t shifts = low_zero_bits(x);
x >>= shifts;
if(shifts % 2)
{