diff options
-rw-r--r-- | ext/simplexml/simplexml.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/simplexml/simplexml.c b/ext/simplexml/simplexml.c index 0b2b5c648a..8d3ceb3e5c 100644 --- a/ext/simplexml/simplexml.c +++ b/ext/simplexml/simplexml.c @@ -1965,9 +1965,9 @@ static zend_object_handlers sxe_object_handlers = { /* {{{ */ /* {{{ sxe_object_clone() */ static zend_object * -sxe_object_clone(zend_object *object TSRMLS_DC) +sxe_object_clone(zval *object TSRMLS_DC) { - php_sxe_object *sxe = php_sxe_fetch_object(object); + php_sxe_object *sxe = Z_SXEOBJ_P(object); php_sxe_object *clone; xmlNodePtr nodep = NULL; xmlDocPtr docp = NULL; |