Skip to content
Commit 354b98cd authored by John Marshall's avatar John Marshall Committed by Carlos O'Donell
Browse files

random: range is not portably RAND_MAX [BZ #7003]



On other platforms, RAND_MAX (which is the range of rand(3))
may differ from 2^31-1 (which is the range of random(3)).

Reviewed-by: default avatarCarlos O'Donell <carlos@redhat.com>
parent 3ee1e0ec
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment