diff options
-rw-r--r-- | mpz/root.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mpz/root.c b/mpz/root.c index dee139755..73c4c49ea 100644 --- a/mpz/root.c +++ b/mpz/root.c @@ -135,7 +135,7 @@ mpz_root (mpz_ptr r, mpz_srcptr c, unsigned long int nth) /* If we got a non-zero remainder in the last division, we know our root is too large. */ - mpz_sub_ui (x, x, (mp_limb_t) (rl != 0)); + mpz_sub_ui (x, x, (unsigned long) (rl != 0)); /* Adjustment loop. If we spend more care on rounding in the loop above, we could probably get rid of this, or greatly simplify it. */ |