diff options
author | Szabolcs Nagy <nsz@port70.net> | 2013-06-08 13:49:12 +0000 |
---|---|---|
committer | Szabolcs Nagy <nsz@port70.net> | 2013-06-08 13:49:12 +0000 |
commit | 0996faa3d789dd69e4c1c022757f0623908b0df5 (patch) | |
tree | 78e677b1897dc9013023fdc0f3d98daade8a7625 /src/prng/__rand48_step.c | |
parent | c79cd27e9e81eb5e223728094f1233ee2fc12dda (diff) | |
download | musl-0996faa3d789dd69e4c1c022757f0623908b0df5.tar.gz musl-0996faa3d789dd69e4c1c022757f0623908b0df5.tar.bz2 musl-0996faa3d789dd69e4c1c022757f0623908b0df5.tar.xz musl-0996faa3d789dd69e4c1c022757f0623908b0df5.zip |
prng: make rand_r have 2^32 period instead of 2^31
this is a minor fix to increase the period of the obsolete rand_r a bit.
an include header in __rand48_step.c is fixed as well.
Diffstat (limited to 'src/prng/__rand48_step.c')
-rw-r--r-- | src/prng/__rand48_step.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/prng/__rand48_step.c b/src/prng/__rand48_step.c index 755b4f2f..105f810f 100644 --- a/src/prng/__rand48_step.c +++ b/src/prng/__rand48_step.c @@ -1,5 +1,5 @@ #include <stdlib.h> -#include <inttypes.h> +#include <stdint.h> uint64_t __rand48_step(unsigned short *xi, unsigned short *lc) { |