diff options
author | Kevin Ryde <user42@zip.com.au> | 2004-03-10 22:53:42 +0100 |
---|---|---|
committer | Kevin Ryde <user42@zip.com.au> | 2004-03-10 22:53:42 +0100 |
commit | c3107449df767c6d6f8e3a244652ea68c5049918 (patch) | |
tree | acc954e51a55ef2146d8ca0419cbf190d78fa02a /mpz/ui_sub.c | |
parent | 8cc2bd9e11d9c9e2bd79553a8e8a1bc9cfa2a166 (diff) | |
download | gmp-c3107449df767c6d6f8e3a244652ea68c5049918.tar.gz |
* 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.
Diffstat (limited to 'mpz/ui_sub.c')
-rw-r--r-- | mpz/ui_sub.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mpz/ui_sub.c b/mpz/ui_sub.c index 9e2478484..5a6bc13cb 100644 --- a/mpz/ui_sub.c +++ b/mpz/ui_sub.c @@ -1,6 +1,6 @@ /* mpz_ui_sub -- Subtract an unsigned one-word integer and an mpz_t. -Copyright 2002 Free Software Foundation, Inc. +Copyright 2002, 2004 Free Software Foundation, Inc. This file is part of the GNU MP Library. @@ -29,7 +29,7 @@ mpz_ui_sub (mpz_ptr w, unsigned long int uval, mpz_srcptr v) mp_size_t vn, wn; mp_limb_t cy; -#if GMP_NAIL_BITS != 0 +#if BITS_PER_ULONG > GMP_NUMB_BITS /* avoid warnings about shift amount */ if (uval > GMP_NUMB_MAX) { mpz_t u; |