projects
/
yaffs-website
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Security update for Core, with self-updated composer
[yaffs-website]
/
vendor
/
paragonie
/
random_compat
/
lib
/
random_int.php
diff --git
a/vendor/paragonie/random_compat/lib/random_int.php
b/vendor/paragonie/random_compat/lib/random_int.php
index b2ea02d17c5f820ecde415875a16904d5c8007c2..5b2143a16297a5ee79ba48f997ef2f39e5d97696 100644
(file)
--- a/
vendor/paragonie/random_compat/lib/random_int.php
+++ b/
vendor/paragonie/random_compat/lib/random_int.php
@@
-78,7
+78,7
@@
if (!is_callable('random_int')) {
}
if ($max === $min) {
- return $min;
+ return
(int)
$min;
}
/**
@@
-185,6
+185,6
@@
if (!is_callable('random_int')) {
*/
} while (!is_int($val) || $val > $max || $val < $min);
- return (int)$val;
+ return (int)
$val;
}
}