Skip to content

ext/opcache/zend_jit: cast function to fix -Wincompatible-pointer-types #10527

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 2 commits into from
Feb 7, 2023

Conversation

MaxKellermann
Copy link
Contributor

Regression by commit a211956

@dstogov

The dtor was casted to ts_allocate_ctor; luckily, ts_allocate_dtor and
ts_allocate_ctor just happen to be the same type.
@dstogov dstogov merged commit afbb28d into php:PHP-8.1 Feb 7, 2023
dstogov added a commit that referenced this pull request Feb 7, 2023
* PHP-8.1:
  ext/opcache/zend_jit: cast function to fix -Wincompatible-pointer-types (#10527)
dstogov added a commit that referenced this pull request Feb 7, 2023
* PHP-8.2:
  ext/opcache/zend_jit: cast function to fix -Wincompatible-pointer-types (#10527)
@dstogov
Copy link
Member

dstogov commented Feb 7, 2023

Thanks for catching this.

@MaxKellermann MaxKellermann deleted the ts_allocate_dtor branch February 7, 2023 10:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants