Skip to content

Commit

Permalink
MFH: fix crash when calling com methods
Browse files Browse the repository at this point in the history
 - due to change in Zend
  • Loading branch information
Rob Richards committed Nov 20, 2004
1 parent acab9b3 commit 7ec21cc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ext/com_dotnet/com_handlers.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 7ec21cc

Please sign in to comment.