]> granicus.if.org Git - php/commitdiff
Fix get_property_ptr_ptr declaration in simplexml
authorNikita Popov <nikic@php.net>
Sat, 9 Mar 2013 19:15:00 +0000 (20:15 +0100)
committerNikita Popov <nikic@php.net>
Sat, 9 Mar 2013 19:15:00 +0000 (20:15 +0100)
A new parameter was added to the API and simplexml wasn't adjusted,
thus causing crashes.

ext/simplexml/simplexml.c

index 692516840b2d7d6e7aedb0bedded1f53b764a99f..baae3842c26e3ecfaccd4d5466a6b268df67ddf1 100644 (file)
@@ -694,7 +694,7 @@ static void sxe_dimension_write(zval *object, zval *offset, zval *value TSRMLS_D
 }
 /* }}} */
 
-static zval** sxe_property_get_adr(zval *object, zval *member, const zend_literal *key TSRMLS_DC) /* {{{ */
+static zval** sxe_property_get_adr(zval *object, zval *member, int fetch_type, const zend_literal *key TSRMLS_DC) /* {{{ */
 {
        php_sxe_object *sxe;
        xmlNodePtr      node;