Skip to content

Commit

Permalink
Set RAND_MAX
Browse files Browse the repository at this point in the history
  • Loading branch information
swenson committed Feb 13, 2024
1 parent 1d9b547 commit f8da358
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stresstest.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit f8da358

Please sign in to comment.