diff options
author | ed <ed@FreeBSD.org> | 2016-12-20 07:50:49 +0000 |
---|---|---|
committer | ed <ed@FreeBSD.org> | 2016-12-20 07:50:49 +0000 |
commit | af93e7bbffb883adfbde38697424bd2822cf54ea (patch) | |
tree | ed964320fc996e4a42ac14fd762f2c7a7d90b299 /.arcconfig | |
parent | 03b964e76b5da3858a8c1df0515ffb6b5c35c6d1 (diff) | |
download | FreeBSD-src-af93e7bbffb883adfbde38697424bd2822cf54ea.zip FreeBSD-src-af93e7bbffb883adfbde38697424bd2822cf54ea.tar.gz |
MFC r309650:
Properly sign extend the result of jrand48() and mrand48().
These functions are supposed to return a value between [-2^31, 2^31).
This doesn't seem to work on 64-bit systems, where we return a value
between [0, 3^32). Patch up the function to use proper casts to int32_t.
While there, fix some other style bugs.
Diffstat (limited to '.arcconfig')
0 files changed, 0 insertions, 0 deletions