From 173bfbf7886608a4a7abbfac6a42ac4bf4a3432d Mon Sep 17 00:00:00 2001 From: Colin Watson Date: Sun, 20 Sep 2020 16:14:20 +0100 Subject: New upstream version 1.5.0 --- fuzz/prng.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) mode change 100755 => 100644 fuzz/prng.c (limited to 'fuzz/prng.c') diff --git a/fuzz/prng.c b/fuzz/prng.c old mode 100755 new mode 100644 index fa6d4e4..61114ac --- a/fuzz/prng.c +++ b/fuzz/prng.c @@ -63,7 +63,8 @@ void init_genrand(unsigned long s) mt[0]= s & 0xffffffffUL; for (mti=1; mti> 30)) + mti); + (1812433253UL * (mt[mti-1] ^ (mt[mti-1] >> 30)) + + (unsigned long)mti); /* See Knuth TAOCP Vol2. 3rd Ed. P.106 for multiplier. */ /* In the previous versions, MSBs of the seed affect */ /* only MSBs of the array mt[]. */ -- cgit v1.2.3