summaryrefslogtreecommitdiff
path: root/mpf/eq.c
diff options
context:
space:
mode:
authorTorbjorn Granlund <tege@gmplib.org>2009-04-13 16:33:50 +0200
committerTorbjorn Granlund <tege@gmplib.org>2009-04-13 16:33:50 +0200
commitfa84b11ad58661d512b67aea63cf081984f70726 (patch)
treec9a52b420da460f02363837f4015d62b79773c97 /mpf/eq.c
parent08154207374a0ded41d610e654d7f516cbc1d866 (diff)
downloadgmp-fa84b11ad58661d512b67aea63cf081984f70726.tar.gz
Misc changes, fixing name space issues and compiler warnings.
Diffstat (limited to 'mpf/eq.c')
-rw-r--r--mpf/eq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mpf/eq.c b/mpf/eq.c
index 432ae9483..9395b68dc 100644
--- a/mpf/eq.c
+++ b/mpf/eq.c
@@ -114,6 +114,6 @@ mpf_eq (mpf_srcptr u, mpf_srcptr v, unsigned long int n_bits)
return 0;
}
- diff = (up[0] ^ vp[0]) >> GMP_NUMB_BITS - 1 - (n_bits - 1) % GMP_NUMB_BITS;
+ diff = (up[0] ^ vp[0]) >> (GMP_NUMB_BITS - 1 - (n_bits - 1) % GMP_NUMB_BITS);
return diff == 0;
}