From 8cc2bd9e11d9c9e2bd79553a8e8a1bc9cfa2a166 Mon Sep 17 00:00:00 2001 From: Kevin Ryde Date: Wed, 10 Mar 2004 22:50:26 +0100 Subject: * mpz/aors_ui.h, mpz/cdiv_q_ui.c, mpz/cdiv_qr_ui.c, mpz/cdiv_r_ui.c, mpz/cdiv_ui.c, mpz/ui_sub.c, mpz/fdiv_q_ui.c, mpz/fdiv_qr_ui.c, mpz/fdiv_r_ui.c, mpz/fdiv_ui.c, mpz/gcd_ui.c, mpz/iset_ui.c, mpz/lcm_ui.c, mpz/set_ui.c, mpz/tdiv_q_ui.c, mpz/tdiv_qr_ui.c, mpz/tdiv_r_ui.c, mpz/tdiv_ui.c, mpf/div_ui.c, mpf/mul_ui.c [longlong+nails]: Amend #if to avoid warnings about shift amount. --- mpz/cdiv_r_ui.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mpz/cdiv_r_ui.c') diff --git a/mpz/cdiv_r_ui.c b/mpz/cdiv_r_ui.c index 74a918da7..70f338ff7 100644 --- a/mpz/cdiv_r_ui.c +++ b/mpz/cdiv_r_ui.c @@ -3,7 +3,7 @@ always fit into the return type, the negative of the true remainder is returned. -Copyright 1994, 1995, 1996, 2001, 2002 Free Software Foundation, Inc. +Copyright 1994, 1995, 1996, 2001, 2002, 2004 Free Software Foundation, Inc. This file is part of the GNU MP Library. @@ -44,7 +44,7 @@ mpz_cdiv_r_ui (mpz_ptr rem, mpz_srcptr dividend, unsigned long int divisor) nn = ABS(ns); 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]; -- cgit v1.2.1