]> granicus.if.org Git - php/commitdiff
Add explicit conversion from 'void *', otherwise ANSI C++ compilers
authorSascha Schumann <sas@php.net>
Wed, 18 Oct 2000 19:53:43 +0000 (19:53 +0000)
committerSascha Schumann <sas@php.net>
Wed, 18 Oct 2000 19:53:43 +0000 (19:53 +0000)
will break out.

Zend/zend_fast_cache.h

index 883bb589eecc82338795ae29490f53c51f45451a..2f56982e2972933b7cf2a027612aea022a04ce18 100644 (file)
@@ -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);                 \
        }