summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/random.c
diff options
context:
space:
mode:
authormckusick <mckusick@FreeBSD.org>2003-02-22 00:19:26 +0000
committermckusick <mckusick@FreeBSD.org>2003-02-22 00:19:26 +0000
commite6aeffdeb5cd5ab10425b1d33b16e6c79b54c859 (patch)
tree910ade0004b73f315e224a338a5a590ad65fac25 /lib/libc/stdlib/random.c
parent7d13c2dbf310d48aa11375e0c7adf769b45e68b0 (diff)
downloadFreeBSD-src-e6aeffdeb5cd5ab10425b1d33b16e6c79b54c859.zip
FreeBSD-src-e6aeffdeb5cd5ab10425b1d33b16e6c79b54c859.tar.gz
This patch fixes a bug in the logical block calculation macros so
that they convert to 64-bit values before shifting rather than afterwards. Once fixed, they can be used rather than inline expanded. Sponsored by: DARPA & NAI Labs.
Diffstat (limited to 'lib/libc/stdlib/random.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud