aboutsummaryrefslogtreecommitdiffstats
path: root/src/math/numbertheory/jacobi.cpp
diff options
context:
space:
mode:
authorlloyd <[email protected]>2010-10-12 16:19:56 +0000
committerlloyd <[email protected]>2010-10-12 16:19:56 +0000
commit4a6fd8c70d40f88c8b51127bfa055b66b18e0f7a (patch)
treed8c5697f8de1fff74c5b813fd83c08d310fa8ac0 /src/math/numbertheory/jacobi.cpp
parentc46a5e8d3dd8f07a92fc90027e6f7f70b989ea47 (diff)
Use size_t in all of math, remove to_u32bit
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)
{