PHP 4.0 Bug #7180: Missing cast in ZEND_FAST_FREE
| From: | ralf at taz dot de | Date: | Fri, 13 Oct 2000 13:05:16 +0000 |
| Subject: | PHP 4.0 Bug #7180: Missing cast in ZEND_FAST_FREE | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-34898@lists.php.net to get a copy of this message | ||
From: ralf@taz.de
Operating system: linux 2.2.14-15mdk
PHP version: 4.0.3
PHP Bug Type: Compile Failure
Bug description: Missing cast in ZEND_FAST_FREE
Hi
In the Maco ZEND_FAST_FREE Zend/zend_fast_cache.h Line 77
g++ miss a cast, so it is not possible to translate it, with cpp extensions.
The correct line must be:
((zend_fast_cache_list_entry *) (p))->next = (zend_fast_cache_list_entry*)
(AG(fast_cache_list_head)[fc_type]); \
Best regards
Ralf Klever
--
Edit Bug report at: http://bugs.php.net/?id=7180&edit=1