it's actually correct to always use size_t for zend_size_t, even on 32 bit
fix some implicit 32 vs 64 bit type conversions