]> granicus.if.org Git - php/commitdiff
- fix cast
authorSascha Schumann <sas@php.net>
Thu, 12 Aug 2010 17:28:08 +0000 (17:28 +0000)
committerSascha Schumann <sas@php.net>
Thu, 12 Aug 2010 17:28:08 +0000 (17:28 +0000)
Zend/zend_variables.h

index 08495730390cdc73aece401ff234b81da80c1bfe..3d8368c262ba93a47032af8b310ca64660362dd8 100644 (file)
@@ -84,7 +84,7 @@ ZEND_API void zval_property_ctor(zval **);
 # define zval_shared_property_ctor zval_add_ref
 #endif
 
-#define zval_copy_property_ctor(ce) ((copy_ctor_func_t) (ce)->type == ZEND_INTERNAL_CLASS ? zval_shared_property_ctor : zval_add_ref)
+#define zval_copy_property_ctor(ce) ((copy_ctor_func_t) (((ce)->type == ZEND_INTERNAL_CLASS) ? zval_shared_property_ctor : zval_add_ref))
 
 
 END_EXTERN_C()