commit | adfe682eb0d77c6afc751f5e407d9da39623c24e | [log] [tgz] |
---|---|---|
author | Rich Felker <dalias@aerifal.cx> | Fri Dec 16 23:19:27 2016 -0500 |
committer | Rich Felker <dalias@aerifal.cx> | Fri Dec 16 23:23:10 2016 -0500 |
tree | b528ab022c560465693517567d58c5786e7fdd96 | |
parent | bfcf5735d08b4e57e0865006392822f8b526771a [diff] |
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.