mirror of
https://github.com/cuberite/libevent.git
synced 2025-09-13 14:26:30 -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
|
static int
|
||||||
rand_int(int n)
|
rand_int(int n)
|
||||||
{
|
{
|
||||||
return evutil_weakrand_(&weakrand_state);
|
return evutil_weakrand_(&weakrand_state) % n;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
Loading…
x
Reference in New Issue
Block a user