diff options
author | Marco Bodrato <bodrato@mail.dm.unipi.it> | 2018-02-08 12:50:18 +0100 |
---|---|---|
committer | Marco Bodrato <bodrato@mail.dm.unipi.it> | 2018-02-08 12:50:18 +0100 |
commit | a1e6bf91f597e67ceede165618c5e9bc417287c3 (patch) | |
tree | 1206cdf356629fd434cca47b55c7f9fb4bfc96d1 /primesieve.c | |
parent | 3877f39ddc370d579f6875b1f9bf66b8b7fc0cf8 (diff) | |
download | gmp-a1e6bf91f597e67ceede165618c5e9bc417287c3.tar.gz |
primesieve.c (fill_bitpattern): Use MPN_FILL.
Diffstat (limited to 'primesieve.c')
-rw-r--r-- | primesieve.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/primesieve.c b/primesieve.c index 0561ef0eb..f6cdf36f2 100644 --- a/primesieve.c +++ b/primesieve.c @@ -235,7 +235,7 @@ fill_bitpattern (mp_ptr bit_array, mp_size_t limbs, mp_limb_t offset) } while (--limbs != 0); return 2; #else - MPN_ZERO (bit_array, limbs); + MPN_FILL (bit_array, limbs, CNST_LIMB(0)); return 0; #endif #endif |