From f8da358d5fd2af453e19b0ca03c387bebf4d5a23 Mon Sep 17 00:00:00 2001 From: Christopher Swenson Date: Mon, 12 Feb 2024 20:03:56 -0800 Subject: [PATCH] Set RAND_MAX --- stresstest.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stresstest.c b/stresstest.c index 0b7ff57..897242a 100644 --- a/stresstest.c +++ b/stresstest.c @@ -93,7 +93,7 @@ static __inline void srand48(long seed) { } #ifndef RAND_MAX -//#define RAND_MAX 0x7fffffff +#define RAND_MAX 0x7fffffff #endif static __inline long lrand48(void) {