summaryrefslogtreecommitdiff
path: root/mpz/get_si.c
diff options
context:
space:
mode:
authortege <tege@gmplib.org>2006-03-08 01:37:00 +0100
committertege <tege@gmplib.org>2006-03-08 01:37:00 +0100
commit0568c367503bccf7350bdbdcc7bbb38e0acdb77a (patch)
treeb80d76fb479b12dfef9e4f7a334e71a814fe8504 /mpz/get_si.c
parent69587bafb30c38522c2cb79c5d4aea5ba476be89 (diff)
downloadgmp-0568c367503bccf7350bdbdcc7bbb38e0acdb77a.tar.gz
Fix a typo.
Diffstat (limited to 'mpz/get_si.c')
-rw-r--r--mpz/get_si.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/mpz/get_si.c b/mpz/get_si.c
index 5f79a1e8a..f09afdd99 100644
--- a/mpz/get_si.c
+++ b/mpz/get_si.c
@@ -1,7 +1,7 @@
/* mpz_get_si(integer) -- Return the least significant digit from INTEGER.
-Copyright 1991, 1993, 1994, 1995, 2000, 2001, 2002 Free Software Foundation,
-Inc.
+Copyright 1991, 1993, 1994, 1995, 2000, 2001, 2002, 2006 Free Software
+Foundation, Inc.
This file is part of the GNU MP Library.
@@ -31,7 +31,7 @@ mpz_get_si (mpz_srcptr z)
mp_limb_t zl = zp[0];
#if GMP_NAIL_BITS != 0
- if (ULONG_MAX > GMP_NUMB_MAX != 0 && ABS (size) >= 2)
+ if (ULONG_MAX > GMP_NUMB_MAX && ABS (size) >= 2)
zl |= zp[1] << GMP_NUMB_BITS;
#endif