Ensure the value returned from ast_random is between 0 and RAND_MAX on 64-bit platforms.
authorJoshua Colp <jcolp@digium.com>
Tue, 27 Nov 2007 17:01:19 +0000 (17:01 +0000)
committerJoshua Colp <jcolp@digium.com>
Tue, 27 Nov 2007 17:01:19 +0000 (17:01 +0000)
commit98fbe822f53bb6e735a3a962555c1c884e2b0b1e
tree5d5af517c07fce30224248a8476abb28a9a6e918
parentdf1689e9274eb343afc3121e4d995d95acabda9e
Ensure the value returned from ast_random is between 0 and RAND_MAX on 64-bit platforms.
(closes issue #11348)
Reported by: sperreault

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89637 65c4cc65-6c06-0410-ace0-fbb531ad65f3
main/utils.c