summaryrefslogtreecommitdiffhomepage
path: root/misc/examples/algorithms/random.c
diff options
context:
space:
mode:
authortylov <[email protected]>2023-07-24 08:30:30 +0200
committertylov <[email protected]>2023-07-24 08:30:30 +0200
commitd9464e7ddfa70860ca09d373d01dc1a6f7730271 (patch)
treed330424ab73e8ca528dce312f3bf15afa8ac2ede /misc/examples/algorithms/random.c
parente4c169a66c3d55a4d0d3407f47102e54d289a3fb (diff)
parent177418232a2d8a8b0df1667d3e4bd15dc37db59f (diff)
downloadSTC-modified-d9464e7ddfa70860ca09d373d01dc1a6f7730271.tar.gz
STC-modified-d9464e7ddfa70860ca09d373d01dc1a6f7730271.zip
Merge branch 'master' into dev43
Diffstat (limited to 'misc/examples/algorithms/random.c')
-rw-r--r--misc/examples/algorithms/random.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/examples/algorithms/random.c b/misc/examples/algorithms/random.c
index ccd0711d..fd904b0f 100644
--- a/misc/examples/algorithms/random.c
+++ b/misc/examples/algorithms/random.c
@@ -4,7 +4,7 @@
int main(void)
{
- long long N = 1000000000;
+ const int N = 10000000;
const uint64_t seed = (uint64_t)time(NULL), range = 1000000;
crand_t rng = crand_init(seed);