From eb4d0b8dacf07919fe0bc68f2cbdb81342d08c7e Mon Sep 17 00:00:00 2001 From: MITSUNARI Shigeo Date: Sun, 7 Jun 2015 20:55:00 +0900 Subject: [PATCH] cast N to int --- src/fp.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fp.cpp b/src/fp.cpp index 9900aa1..dd86cba 100644 --- a/src/fp.cpp +++ b/src/fp.cpp @@ -187,7 +187,7 @@ static void initForMont(Op& op, const Unit *p) fromRawGmp(op.RR, N, t); FpGenerator *fg = op.fg; if (fg == 0) return; - fg->init(p, N); + fg->init(p, (int)N); op.neg = Xbyak::CastTo(fg->neg_); op.add = Xbyak::CastTo(fg->add_);