mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
[ci skip] random: Fix whitespace errors in randomizer.c
This commit is contained in:
parent
1f05d6ef80
commit
3ed5264414
1 changed files with 2 additions and 2 deletions
|
@ -161,7 +161,7 @@ PHP_METHOD(Random_Randomizer, getFloat)
|
|||
|
||||
bounds_type = ZSTR_VAL(bounds_name)[0] + ZSTR_LEN(bounds_name);
|
||||
}
|
||||
|
||||
|
||||
switch (bounds_type) {
|
||||
case 'C' + sizeof("ClosedOpen") - 1:
|
||||
if (UNEXPECTED(max <= min)) {
|
||||
|
@ -424,7 +424,7 @@ PHP_METHOD(Random_Randomizer, getBytesFromString)
|
|||
mask = 0x7;
|
||||
} else if (source_length <= 0x10) {
|
||||
mask = 0xF;
|
||||
} else if (source_length <= 0x20) {
|
||||
} else if (source_length <= 0x20) {
|
||||
mask = 0x1F;
|
||||
} else if (source_length <= 0x40) {
|
||||
mask = 0x3F;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue