summaryrefslogtreecommitdiffhomepage
path: root/misc/examples/random.c
diff options
context:
space:
mode:
Diffstat (limited to 'misc/examples/random.c')
-rw-r--r--misc/examples/random.c2
1 files changed, 1 insertions, 1 deletions
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);