From: Sascha Schumann Date: Wed, 18 Oct 2000 19:53:43 +0000 (+0000) Subject: Add explicit conversion from 'void *', otherwise ANSI C++ compilers X-Git-Tag: php-4.0.4RC3~629 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ffc6e72604cf3401c65f2856445cb69a3f40471a;p=php Add explicit conversion from 'void *', otherwise ANSI C++ compilers will break out. --- diff --git a/Zend/zend_fast_cache.h b/Zend/zend_fast_cache.h index 883bb589ee..2f56982e29 100644 --- a/Zend/zend_fast_cache.h +++ b/Zend/zend_fast_cache.h @@ -74,7 +74,7 @@ typedef struct _zend_fast_cache_list_entry { { \ ALS_FETCH(); \ \ - ((zend_fast_cache_list_entry *) (p))->next = AG(fast_cache_list_head)[fc_type]; \ + ((zend_fast_cache_list_entry *) (p))->next = (zend_fast_cache_list_entry *) AG(fast_cache_list_head)[fc_type]; \ AG(fast_cache_list_head)[fc_type] = (zend_fast_cache_list_entry *) (p); \ }