mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-10-24 02:08:57 +03:00
maint: factor: use a stricter COUNTED_BY on the list of factors
* src/factor.c (struct mp_factors): Change the COUNTED_BY to use the nfactors member instead of nalloc.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user