Fix lrand48() and rand()
authorH. Peter Anvin <hpa@zytor.com>
Mon, 11 Aug 2008 16:14:40 +0000 (09:14 -0700)
committerH. Peter Anvin <hpa@zytor.com>
Mon, 11 Aug 2008 16:14:40 +0000 (09:14 -0700)
commit7552258bacc4ef63f7ad40baf26162a1bcf81f78
tree46bbba0cb39e8be372594d066f7ae80115f06a6a
parent911a37f89e07e191f39e21603ca4b6f4674f63ae
Fix lrand48() and rand()

lrand48() and rand() had improper parenthesization, which caused it to
return negative values.

Spotted by Stefan Bucur :)

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
com32/lib/lrand48.c