Patched random generator on 64-bit

This commit is contained in:
Shoghi Cervantes 2014-04-08 15:43:13 +02:00
parent 9d8e6d5f8c
commit 4c973ce625

View File

@ -82,7 +82,7 @@ class Random{
if($t > 2147483647){
$t -= 4294967296;
}
return (int) $t;
return (int) $t % 0x7fffffff;
}
/**