From: Zeev Suraski Date: Sun, 8 Feb 2004 17:25:54 +0000 (+0000) Subject: Update to new API X-Git-Tag: php-5.0.0b4RC1~89 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2a9e1294bc6b93dfa7543b37dfebfa4c2830080f;p=php Update to new API --- diff --git a/ext/com_dotnet/com_handlers.c b/ext/com_dotnet/com_handlers.c index 8d548e37b1..0811fddec2 100644 --- a/ext/com_dotnet/com_handlers.c +++ b/ext/com_dotnet/com_handlers.c @@ -104,7 +104,7 @@ static HRESULT com_get_default_binding(php_com_dotnet_object *obj TSRMLS_DC) return obj->have_default_bind ? SUCCESS : FAILURE; } -static zval *com_read_dimension(zval *object, zval *offset TSRMLS_DC) +static zval *com_read_dimension(zval *object, zval *offset, int type TSRMLS_DC) { zval *return_value; php_com_dotnet_object *obj; diff --git a/ext/simplexml/simplexml.c b/ext/simplexml/simplexml.c index ebf7b0e61a..b7735f80b1 100644 --- a/ext/simplexml/simplexml.c +++ b/ext/simplexml/simplexml.c @@ -263,7 +263,7 @@ static zval * sxe_property_read(zval *object, zval *member, zend_bool silent TSR /* {{{ sxe_dimension_read() */ -static zval * sxe_dimension_read(zval *object, zval *offset TSRMLS_DC) +static zval * sxe_dimension_read(zval *object, zval *offset, int type TSRMLS_DC) { return sxe_prop_dim_read(object, offset, 0, 1, 0 TSRMLS_CC); }