[php-src] PR #12327: fix mbstring.c -Wsingle-bit-bitfield-constant-conversion
| From: | morrisonlevi | Date: | Fri, 29 Sep 2023 22:18:30 +0000 |
| Subject: | [php-src] PR #12327: fix mbstring.c -Wsingle-bit-bitfield-constant-conversion | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-23744@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/12327
Author: morrisonlevi
This opts to fix it in the same way as GH-11729 did, by converting it to a boolean.
I don't see why these would need to be bitfields at all, they could just be booleans as
it's an unnamed struct and the struct as a whole isn't used for anything. However, I am a
bit tired and it's a Friday afternoon, and we're in RC phase already, so I just did the
safer thing.