about summary refs log tree commit diff
path: root/src/math
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2016-12-16 23:19:27 -0500
committerRich Felker <dalias@aerifal.cx>2016-12-16 23:23:10 -0500
commitadfe682eb0d77c6afc751f5e407d9da39623c24e (patch)
treeb528ab022c560465693517567d58c5786e7fdd96 /src/math
parentbfcf5735d08b4e57e0865006392822f8b526771a (diff)
downloadmusl-adfe682eb0d77c6afc751f5e407d9da39623c24e.tar.gz
musl-adfe682eb0d77c6afc751f5e407d9da39623c24e.tar.xz
musl-adfe682eb0d77c6afc751f5e407d9da39623c24e.zip
fix mrand48/jrand48 return value on 64-bit archs
POSIX specifies the result to have signed 32-bit range. on 32-bit
archs, the implicit conversion to long achieved the desired range
already, but when long is 64-bit, a cast is needed.

patch by Ed Schouten.
Diffstat (limited to 'src/math')
0 files changed, 0 insertions, 0 deletions