diff options
author | Kevin Ryde <user42@zip.com.au> | 2003-12-28 01:30:09 +0100 |
---|---|---|
committer | Kevin Ryde <user42@zip.com.au> | 2003-12-28 01:30:09 +0100 |
commit | 1335ca0d16304ed4e704487a601e900aae4b328a (patch) | |
tree | fb44a4943d693f0ea51dbd995906ef46da99b207 /mpz/root.c | |
parent | a5649b891bc3202ae5dd1ecb0cdaf341980f6736 (diff) | |
download | gmp-1335ca0d16304ed4e704487a601e900aae4b328a.tar.gz |
* mpz/root.c, mpq/cmp_ui.c: Add casts for K&R.
Diffstat (limited to 'mpz/root.c')
-rw-r--r-- | mpz/root.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mpz/root.c b/mpz/root.c index 64d614b2a..2df89e205 100644 --- a/mpz/root.c +++ b/mpz/root.c @@ -1,7 +1,7 @@ /* mpz_root(root, u, nth) -- Set ROOT to floor(U^(1/nth)). Return an indication if the result is exact. -Copyright 1999, 2000, 2001, 2002 Free Software Foundation, Inc. +Copyright 1999, 2000, 2001, 2002, 2003 Free Software Foundation, Inc. This file is part of the GNU MP Library. @@ -69,7 +69,7 @@ mpz_root (mpz_ptr root, mpz_srcptr u, unsigned long int nth) } else { - remn = mpn_rootrem (rootp, NULL, up, un, nth); + remn = mpn_rootrem (rootp, NULL, up, un, (mp_limb_t) nth); } if (root != NULL) |