* src/factor.c (struct mp_factors): Change the COUNTED_BY to use the
nfactors member instead of nalloc.
---
 src/factor.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/factor.c b/src/factor.c
index ac9fe1b86..2bfa18ecc 100644
--- a/src/factor.c
+++ b/src/factor.c
@@ -297,7 +297,7 @@ struct mp_factors
 
   /* A vector of distinct prime factors, a count of the factors,
      and the number of allocated slots in the vector.  */
-  struct mp_factor *f COUNTED_BY (nalloc);
+  struct mp_factor *f COUNTED_BY (nfactors);
 };
 
 static void factor (struct factors *, mp_limb_t, mp_limb_t);
-- 
2.56.0


Reply via email to