about summary refs log tree commit diff
path: root/stdlib/random.c
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/random.c')
-rw-r--r--stdlib/random.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stdlib/random.c b/stdlib/random.c
index 0ab8f05e5f..6d2ee85f3e 100644
--- a/stdlib/random.c
+++ b/stdlib/random.c
@@ -239,7 +239,7 @@ weak_alias (__setstate, setstate)
    rear pointers can't wrap on the same call by not testing the rear
    pointer if the front one has wrapped.  Returns a 31-bit random number.  */
 
-int
+int32_t
 __random ()
 {
   int32_t retval;