mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 19:49:44 +00:00
Fix for 64-bit PHP
This commit is contained in:
parent
28c62be43e
commit
8918c3c2c8
1 changed files with 1 additions and 1 deletions
|
|
@ -62,7 +62,7 @@ class Java_String{
|
|||
if($h === 0 and $this->count > 0){
|
||||
for($i = 0; $i < $this->count; ++$i){
|
||||
$h = (($h << 5) - $h) + ord($this->charAt($i));
|
||||
$h = $h & $h;
|
||||
$h = $h & 0xFFFFFFFF;
|
||||
$this->hash = $h;
|
||||
}
|
||||
$this->hash = $h;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue