summaryrefslogtreecommitdiff
path: root/mpz/fdiv_q.c
diff options
context:
space:
mode:
authortege <tege@gmplib.org>2000-04-14 19:29:11 +0200
committertege <tege@gmplib.org>2000-04-14 19:29:11 +0200
commit04e8a73b252c16ac734884b3258809ae53985318 (patch)
tree8851aa2d08f9f1741916b44afcf64a63977a1f31 /mpz/fdiv_q.c
parente0ecc93d3c254077b12051d5e2f196a1d495bfda (diff)
downloadgmp-04e8a73b252c16ac734884b3258809ae53985318.tar.gz
Change temp allocation for new requirements of mpz_tdiv_qr.
Diffstat (limited to 'mpz/fdiv_q.c')
-rw-r--r--mpz/fdiv_q.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mpz/fdiv_q.c b/mpz/fdiv_q.c
index 3da943af9..00b4371e4 100644
--- a/mpz/fdiv_q.c
+++ b/mpz/fdiv_q.c
@@ -40,7 +40,7 @@ mpz_fdiv_q (quot, dividend, divisor)
TMP_MARK (marker);
- MPZ_TMP_INIT (rem, 1 + ABS (dividend_size));
+ MPZ_TMP_INIT (rem, ABS (divisor_size));
mpz_tdiv_qr (quot, rem, dividend, divisor);