summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZeev Suraski <zeev@php.net>2004-02-08 17:25:54 +0000
committerZeev Suraski <zeev@php.net>2004-02-08 17:25:54 +0000
commit2a9e1294bc6b93dfa7543b37dfebfa4c2830080f (patch)
tree1869bd06417e7f43262ea6e31c5276b4a2ed50f2
parent473927ece8baed35ccffe3895a90caf1d6652b53 (diff)
downloadphp-git-2a9e1294bc6b93dfa7543b37dfebfa4c2830080f.tar.gz
Update to new API
-rw-r--r--ext/com_dotnet/com_handlers.c2
-rw-r--r--ext/simplexml/simplexml.c2
2 files changed, 2 insertions, 2 deletions
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);
}