aboutsummaryrefslogtreecommitdiffstats
path: root/src/math/numbertheory/make_prm.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/math/numbertheory/make_prm.cpp')
-rw-r--r--src/math/numbertheory/make_prm.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/math/numbertheory/make_prm.cpp b/src/math/numbertheory/make_prm.cpp
index 1e8d11000..dc94420ab 100644
--- a/src/math/numbertheory/make_prm.cpp
+++ b/src/math/numbertheory/make_prm.cpp
@@ -48,7 +48,7 @@ BigInt random_prime(RandomNumberGenerator& rng,
p += (modulo - p % modulo) + equiv;
const size_t sieve_size = std::min(bits / 2, PRIME_TABLE_SIZE);
- SecureVector<size_t> sieve(sieve_size);
+ secure_vector<u16bit> sieve(sieve_size);
for(size_t j = 0; j != sieve.size(); ++j)
sieve[j] = p % PRIMES[j];