From 10a832af192f93cdd11fc282e0fbfdb1e6de4450 Mon Sep 17 00:00:00 2001 From: tege Date: Sat, 11 May 2002 16:23:33 +0200 Subject: Adjust allocation of qp temporary area. --- mpn/generic/rootrem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mpn/generic/rootrem.c b/mpn/generic/rootrem.c index 0244bd810..168baa9e5 100644 --- a/mpn/generic/rootrem.c +++ b/mpn/generic/rootrem.c @@ -84,7 +84,7 @@ mpn_rootrem (mp_ptr rootp, mp_ptr remp, xn = (xnb + GMP_NUMB_BITS - 1) / GMP_NUMB_BITS; - qp = TMP_ALLOC_LIMBS (un); /* should try and reduce this allocation */ + qp = TMP_ALLOC_LIMBS (un + 1); xp = TMP_ALLOC_LIMBS (xn + 1); /* Set initial root to only ones. This is an overestimate of the actual root -- cgit v1.2.1