diff options
author | Rob Richards <rrichards@php.net> | 2004-11-20 11:40:49 +0000 |
---|---|---|
committer | Rob Richards <rrichards@php.net> | 2004-11-20 11:40:49 +0000 |
commit | 8f32b61acbb3b8f1545f63f4b4f04c1df5475c59 (patch) | |
tree | 6cab1cf15a2396829fad5279dc438e98e26aa7a4 /ext/com_dotnet | |
parent | 2e1f2f885245480f43c96937532f3b65b34b7081 (diff) | |
download | php-git-8f32b61acbb3b8f1545f63f4b4f04c1df5475c59.tar.gz |
fix crash when calling com methods
- due to change in Zend
Diffstat (limited to 'ext/com_dotnet')
-rw-r--r-- | ext/com_dotnet/com_handlers.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/com_dotnet/com_handlers.c b/ext/com_dotnet/com_handlers.c index 82713c67c7..dde8513ce7 100644 --- a/ext/com_dotnet/com_handlers.c +++ b/ext/com_dotnet/com_handlers.c @@ -293,12 +293,13 @@ static PHP_FUNCTION(com_method_handler) INTERNAL_FUNCTION_PARAM_PASSTHRU); } -static union _zend_function *com_method_get(zval *object, char *name, int len TSRMLS_DC) +static union _zend_function *com_method_get(zval **object_ptr, char *name, int len TSRMLS_DC) { zend_internal_function f, *fptr = NULL; php_com_dotnet_object *obj; union _zend_function *func; DISPID dummy; + zval *object = *object_ptr; obj = CDNO_FETCH(object); |