GlobalConstants: assume we are on 64-bit when declaring INT32_MASK

fixes a FP reported by phpstan level 4
This commit is contained in:
Dylan K. Taylor 2019-12-05 15:48:11 +00:00
parent 16817ff301
commit f5aa461945

View File

@ -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;