summaryrefslogtreecommitdiff
path: root/mpz/cdiv_qr_ui.c
diff options
context:
space:
mode:
Diffstat (limited to 'mpz/cdiv_qr_ui.c')
-rw-r--r--mpz/cdiv_qr_ui.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/mpz/cdiv_qr_ui.c b/mpz/cdiv_qr_ui.c
index b8491692a..4e4a9bc84 100644
--- a/mpz/cdiv_qr_ui.c
+++ b/mpz/cdiv_qr_ui.c
@@ -3,7 +3,8 @@
always fit into the return type, the negative of the true remainder is
returned.
-Copyright 1994, 1995, 1996, 1999, 2001, 2002 Free Software Foundation, Inc.
+Copyright 1994, 1995, 1996, 1999, 2001, 2002, 2004 Free Software Foundation,
+Inc.
This file is part of the GNU MP Library.
@@ -48,7 +49,7 @@ mpz_cdiv_qr_ui (mpz_ptr quot, mpz_ptr rem, mpz_srcptr dividend, unsigned long in
qp = PTR(quot);
np = PTR(dividend);
-#if GMP_NAIL_BITS != 0
+#if BITS_PER_ULONG > GMP_NUMB_BITS /* avoid warnings about shift amount */
if (divisor > GMP_NUMB_MAX)
{
mp_limb_t dp[2];