Skip to content

Conversation

@MaxKellermann
Copy link
Contributor

zend_long is a signed integer that's only 32 bit on some 64 bit architectures (e.g. ARM64). The proper type for memory sizes is size_t, and this type is accepted by zend_fiber_init_context().

`zend_long` is a signed integer that's only 32 bit on some 64 bit
architectures (e.g. ARM64).  The proper type for memory sizes is
`size_t`, and this type is accepted by zend_fiber_init_context().
@devnexen devnexen merged commit bf036fa into php:master Feb 18, 2023
@devnexen
Copy link
Member

Thanks !

@MaxKellermann MaxKellermann deleted the fiber_stack_size_size_t branch February 18, 2023 23:06
crrodriguez pushed a commit to crrodriguez/php-src that referenced this pull request Feb 21, 2023
`zend_long` is a signed integer that's only 32 bit on some 64 bit
architectures (e.g. ARM64).  The proper type for memory sizes is
`size_t`, and this type is accepted by zend_fiber_init_context().
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants