[php-src] PR #19907: uri: Fix const-correctness violation in `uri_*_from_obj`
| From: | TimWolla | Date: | Sun, 21 Sep 2025 17:45:04 +0000 |
| Subject: | [php-src] PR #19907: uri: Fix const-correctness violation in `uri_*_from_obj` | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-33287@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/19907
Author: TimWolla
The functions derived non-const pointers from a const-pointer, which is not correct. Since
php/php-src#19854 no
const pointers are passed into these functions, so we can just
make the parameter non-const.