summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSascha Schumann <sas@php.net>2010-08-12 17:28:08 +0000
committerSascha Schumann <sas@php.net>2010-08-12 17:28:08 +0000
commit14edb68858a63c82de506514680eae41a5244d2a (patch)
treea1849e959541f8c662663d55c2008f80aae0b92c
parent8409cb44b25f90c8df670e946018fb6209c5c1a2 (diff)
downloadphp-git-14edb68858a63c82de506514680eae41a5244d2a.tar.gz
- fix cast
-rw-r--r--Zend/zend_variables.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/zend_variables.h b/Zend/zend_variables.h
index 0849573039..3d8368c262 100644
--- a/Zend/zend_variables.h
+++ b/Zend/zend_variables.h
@@ -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()