Skip to content

Zend/zend_globals: convert fiber_stack_size to size_t #10619

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 18, 2023

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