diff options
author | Kevin Ryde <user42@zip.com.au> | 2002-05-07 02:08:22 +0200 |
---|---|---|
committer | Kevin Ryde <user42@zip.com.au> | 2002-05-07 02:08:22 +0200 |
commit | 6c3192a9d33ec0d1ccea301a8662746a545dc78e (patch) | |
tree | 506d0ae839c21d8804da08ff2d65c21ee0f56911 | |
parent | e72e71b91bd4176f1c20ba2e9f5da5094251a951 (diff) | |
download | gmp-6c3192a9d33ec0d1ccea301a8662746a545dc78e.tar.gz |
* mpz/root.c: Use unsigned long with mpz_sub_ui not mp_limb_t.
-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. */ |