[php-src] PR #25577: Windows CI: Fix implicit pointer-to-bool conversions
| From: | adapik | Date: | Thu, 19 Nov 2026 07:21:47 +0000 |
| Subject: | [php-src] PR #25577: Windows CI: Fix implicit pointer-to-bool conversions | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-40798@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/25577
Author: adapik
Fix MSVC C4047 warnings for pointer to bool conversions
This is an attempt to address a Windows CI failure seen in another PR, presumably caused by the
runner image update to MSVC 14.52, which now warns on implicit pointer to bool conversions. The
affected toolset is currently used in CI only for 8.6, but the fix applies to 8.4 as well. I created
this PR to master, but it can be easily rebased or cherry-picked to another branch.
Failing job: https://github.com/php/php-src/actions/runs/44365638994/job/135018635177
Later jobs I looked at ran on an older MSVC version (14.51), which is why they passed.