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)
133
133
zend_string *prop_name = ZSTR_INIT_LITERAL(php_name, false); \
134
134
const zend_property_info *prop_info = zend_get_property_info(xsl_xsltprocessor_class_entry, prop_name, 0); \
135
135
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) ); \
138
138
}
139
139
#else
140
140
# define XSL_DEFINE_PROP_ACCESSOR (c_name , php_name , prop_index ) \
141
141
zval *xsl_prop_##c_name(zend_object *object) \
142
142
{ \
143
- return OBJ_PROP_NUM(object, prop_index); \
143
+ return OBJ_PROP_NUM(object, ( prop_index) ); \
144
144
}
145
145
#endif
146
146
You can’t perform that action at this time.
0 commit comments