aboutsummaryrefslogtreecommitdiffstats
path: root/missing.d
diff options
context:
space:
mode:
Diffstat (limited to 'missing.d')
-rw-r--r--missing.d/random.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/missing.d/random.c b/missing.d/random.c
index 5830024b..3708fe90 100644
--- a/missing.d/random.c
+++ b/missing.d/random.c
@@ -236,7 +236,7 @@ initstate( seed, arg_state, n )
if( n < BREAK_1 ) {
if( n < BREAK_0 ) {
fprintf( stderr, "initstate: not enough state (%d bytes) with which to do jack; ignored.\n", n );
- return;
+ return 0;
}
rand_type = TYPE_0;
rand_deg = DEG_0;