[php-src] PR #15104: Fix type incompatibility in assignment.
| From: | cmb69 | Date: | Thu, 25 Jul 2024 10:02:15 +0000 |
| Subject: | [php-src] PR #15104: Fix type incompatibility in assignment. | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-27484@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/15104
Author: cmb69
This partially reverts 0956267c08b8ea8cc8e8e2b31fe0ce12f060e47e, which introduced a type
incompatibility where an
int function is assigned to a zend_result
function. That yields a level 1 C4133 warning on MSVC, and usually (e.g. in CI) level 1 warnings
are elevated to errors, so the build fails.[1]
The PHP-8.3 branch and up are uneffected by this, so the upward merges should be empty.
[1] <https://github.com/php/php-src/commit/0956267c08b8ea8cc8e8e2b31fe0ce12f060e47e#r144587696>
---
See https://github.com/php/php-src/actions/runs/10078923540/job/27864997876#step:5:897
for detailed info about the build failure.