mirror of
https://github.com/php/php-src.git
synced 2026-04-24 08:28:26 +02:00
daa2b75c76
Fix a couple of mistakes that are only relevant if sizeof(zend_long) > sizeof(size_t). * Fix cast order in string offset check: Negation should happen after the (zend_long) cast, otherwise sign extension does not occur. * Use Z_UL in zend_inference. * Use aligned size for HT_USED_SIZE in zend_persist: The issue is that on x86-32 uint64_t is considered to be 4-aligned, so the alignment assumption does not hold.