type fix: replaced a couple of longs with ints (as they should be)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1648 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -256,7 +256,7 @@ static inline long good_rand(long x)
|
|||||||
* for default usage relies on values produced by this routine.
|
* for default usage relies on values produced by this routine.
|
||||||
*/
|
*/
|
||||||
void
|
void
|
||||||
srandom(unsigned long x)
|
srandom(unsigned int x)
|
||||||
{
|
{
|
||||||
long i;
|
long i;
|
||||||
|
|
||||||
@@ -467,7 +467,7 @@ setstate(arg_state)
|
|||||||
*
|
*
|
||||||
* Returns a 31-bit random number.
|
* Returns a 31-bit random number.
|
||||||
*/
|
*/
|
||||||
long
|
int
|
||||||
random(void)
|
random(void)
|
||||||
{
|
{
|
||||||
long i;
|
long i;
|
||||||
|
|||||||
Reference in New Issue
Block a user