File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -133,14 +133,14 @@ zend_object *xsl_objects_new(zend_class_entry *class_type)
133133 zend_string *prop_name = ZSTR_INIT_LITERAL(php_name, false); \
134134 const zend_property_info *prop_info = zend_get_property_info(xsl_xsltprocessor_class_entry, prop_name, 0); \
135135 zend_string_release_ex(prop_name, false); \
136- ZEND_ASSERT(OBJ_PROP_TO_NUM(prop_info->offset) == prop_index); \
137- return OBJ_PROP_NUM(object, prop_index); \
136+ ZEND_ASSERT(OBJ_PROP_TO_NUM(prop_info->offset) == ( prop_index) ); \
137+ return OBJ_PROP_NUM(object, ( prop_index) ); \
138138 }
139139#else
140140# define XSL_DEFINE_PROP_ACCESSOR (c_name , php_name , prop_index ) \
141141 zval *xsl_prop_##c_name(zend_object *object) \
142142 { \
143- return OBJ_PROP_NUM(object, prop_index); \
143+ return OBJ_PROP_NUM(object, ( prop_index) ); \
144144 }
145145#endif
146146
You can’t perform that action at this time.
0 commit comments