mirror of
https://gitlab.freedesktop.org/plymouth/plymouth.git
synced 2026-05-06 05:38:14 +02:00
Merge branch 'mr256' into 'main'
Issue #256 See merge request plymouth/plymouth!322
This commit is contained in:
commit
238d2fc2a2
1 changed files with 1 additions and 1 deletions
|
|
@ -1308,7 +1308,7 @@ ply_get_random_number (long lower_bound,
|
|||
seed_initialized = true;
|
||||
}
|
||||
|
||||
offset = mrand48 ();
|
||||
offset = (mrand48 () << 32) | (mrand48 () & 0xffffffff);
|
||||
|
||||
offset = labs (offset) % range;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue