mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-21 08:17:34 +00:00
GlobalConstants: assume we are on 64-bit when declaring INT32_MASK
fixes a FP reported by phpstan level 4
This commit is contained in:
parent
16817ff301
commit
f5aa461945
@ -27,4 +27,4 @@ define('pocketmine\_GLOBAL_CONSTANTS_INCLUDED', true);
|
||||
|
||||
const INT32_MIN = -0x80000000;
|
||||
const INT32_MAX = 0x7fffffff;
|
||||
define("INT32_MASK", is_int(0xffffffff) ? 0xffffffff : -1);
|
||||
const INT32_MASK = 0xffffffff;
|
||||
|
Loading…
x
Reference in New Issue
Block a user