remove warning of vc

dev
MITSUNARI Shigeo 6 years ago
parent 11b2f3517f
commit 543e5fc19d
  1. 4
      src/fp.cpp

@ -362,7 +362,7 @@ static bool initForMont(Op& op, const Unit *p, Mode mode)
return true;
}
bool Op::init(const mpz_class& _p, size_t maxBitSize, int xi_a, Mode mode, size_t mclMaxBitSize)
bool Op::init(const mpz_class& _p, size_t maxBitSize, int _xi_a, Mode mode, size_t mclMaxBitSize)
{
if (mclMaxBitSize != MCL_MAX_BIT_SIZE) return false;
#ifdef MCL_USE_VINT
@ -384,7 +384,7 @@ bool Op::init(const mpz_class& _p, size_t maxBitSize, int xi_a, Mode mode, size_
mp = _p;
bitSize = gmp::getBitSize(mp);
pmod4 = gmp::getUnit(mp, 0) % 4;
this->xi_a = xi_a;
this->xi_a = _xi_a;
/*
priority : MCL_USE_XBYAK > MCL_USE_LLVM > none
Xbyak > llvm_mont > llvm > gmp_mont > gmp

Loading…
Cancel
Save