diff --git a/lib/Cake/Utility/Security.php b/lib/Cake/Utility/Security.php index 6ad3c01c14d..511cf5efcbe 100644 --- a/lib/Cake/Utility/Security.php +++ b/lib/Cake/Utility/Security.php @@ -187,7 +187,7 @@ public static function cipher($text, $key) { return ''; } - srand(Configure::read('Security.cipherSeed')); + srand((int)Configure::read('Security.cipherSeed')); $out = ''; $keyLength = strlen($key); for ($i = 0, $textLength = strlen($text); $i < $textLength; $i++) {