Commit 6161445e authored by ZIMMERMANN Paul's avatar ZIMMERMANN Paul Committed by Emmanuel Thomé

fix warning found by clang-3.6

parent 51005c76
...@@ -250,7 +250,7 @@ findroot_new (unsigned long *k2, const unsigned long b, ...@@ -250,7 +250,7 @@ findroot_new (unsigned long *k2, const unsigned long b,
#endif #endif
const unsigned long redc_inva = mul_redc(p - inva, F->conv, F); const unsigned long redc_inva = mul_redc(p - inva, F->conv, F);
t1 = mul_redc(labs(b - r), redc_inva, F); t1 = mul_redc((b >= r) ? b - r : r - b, redc_inva, F);
if (b < r && t1 != 0) if (b < r && t1 != 0)
t1 = p - t1; t1 = p - t1;
ularith_addmod_ul_ul (&t1, t1, Mp, p); ularith_addmod_ul_ul (&t1, t1, Mp, p);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment