From 177418232a2d8a8b0df1667d3e4bd15dc37db59f Mon Sep 17 00:00:00 2001 From: tylov Date: Tue, 18 Jul 2023 02:50:44 +0200 Subject: Final merge fixes. --- misc/examples/prime.c | 2 +- misc/examples/random.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'misc') diff --git a/misc/examples/prime.c b/misc/examples/prime.c index c3db707d..e7b3d993 100644 --- a/misc/examples/prime.c +++ b/misc/examples/prime.c @@ -32,7 +32,7 @@ int main(void) llong n = 100000000; printf("Computing prime numbers up to %lld\n", n); - clock_t t = clock(); + clock_t t1 = clock(); cbits primes = sieveOfEratosthenes(n + 1); llong np = cbits_count(&primes); diff --git a/misc/examples/random.c b/misc/examples/random.c index 63c5a306..a36b2389 100644 --- a/misc/examples/random.c +++ b/misc/examples/random.c @@ -4,7 +4,7 @@ int main(void) { - const size_t N = 10000000; + const int N = 10000000; const uint64_t seed = (uint64_t)time(NULL), range = 1000000; crand_t rng = crand_init(seed); -- cgit v1.2.3