mirror of
https://github.com/cuberite/libevent.git
synced 2025-09-11 13:24:43 -04:00
Fix for a677b72bd6d9d378daf9775966aa8ca574e26e67
This commit is contained in:
parent
fb57b8badc
commit
364c110687
@ -54,7 +54,7 @@ struct evutil_weakrand_state weakrand_state;
|
||||
static int
|
||||
rand_int(int n)
|
||||
{
|
||||
return evutil_weakrand_(&weakrand_state);
|
||||
return evutil_weakrand_(&weakrand_state) % n;
|
||||
}
|
||||
|
||||
static void
|
||||
|
Loading…
x
Reference in New Issue
Block a user