backport 342b48b75: VersionString: Use the correct bitwise operators

This commit is contained in:
Dylan K. Taylor 2019-04-12 18:32:15 +01:00
parent 6161155660
commit d0d300a6f8

View File

@ -70,7 +70,7 @@ class VersionString{
}
public function getNumber() : int{
return (($this->major << 9) + ($this->minor << 5) + $this->patch);
return (($this->major << 9) | ($this->minor << 5) | $this->patch);
}
public function getBaseVersion() : string{