diff --git a/Math/Zp_Data.cpp b/Math/Zp_Data.cpp index 4ff42f4f7..457441abb 100644 --- a/Math/Zp_Data.cpp +++ b/Math/Zp_Data.cpp @@ -17,7 +17,7 @@ void Zp_Data::init(const bigint& p,bool mont) #endif pr=p; - mask=static_cast(1ULL<<((mpz_sizeinbase(pr.get_mpz_t(),2)-1)%(8*sizeof(mp_limb_t))))-1); + mask=static_cast(1ULL<<((mpz_sizeinbase(pr.get_mpz_t(),2)-1)%(8*sizeof(mp_limb_t))))-1; pr_byte_length = numBytes(pr); pr_bit_length = numBits(pr); int k = pr_bit_length;