Revert "Fixed incompatible pointer type"

This reverts commit 007406c775b527a334a0964a624810afeb599ed5.
Merge branch 'master' of https://git.php.net/repository/php-src