php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #7180 Missing cast in ZEND_FAST_FREE
Submitted: 2000-10-13 09:05 UTC Modified: 2000-10-22 12:38 UTC
From: ralf at taz dot de Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.0.3 OS: linux 2.2.14-15mdk
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: ralf at taz dot de
New email:
PHP Version: OS:

 

 [2000-10-13 09:05 UTC] ralf at taz dot de
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

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-10-22 12:38 UTC] sas@php.net
Fixed in CVS. Thanks for your report.
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Wed Jul 15 20:00:02 2026 UTC