From 1335ca0d16304ed4e704487a601e900aae4b328a Mon Sep 17 00:00:00 2001 From: Kevin Ryde Date: Sun, 28 Dec 2003 01:30:09 +0100 Subject: * mpz/root.c, mpq/cmp_ui.c: Add casts for K&R. --- mpz/root.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mpz/root.c') 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) -- cgit v1.2.1