diff --git a/src/kernel/libroot/posix/stdlib/random.c b/src/kernel/libroot/posix/stdlib/random.c index a9c84b9081..60c7339aa9 100644 --- a/src/kernel/libroot/posix/stdlib/random.c +++ b/src/kernel/libroot/posix/stdlib/random.c @@ -256,7 +256,7 @@ static inline long good_rand(long x) * for default usage relies on values produced by this routine. */ void -srandom(unsigned long x) +srandom(unsigned int x) { long i; @@ -467,7 +467,7 @@ setstate(arg_state) * * Returns a 31-bit random number. */ -long +int random(void) { long i;