diff options
Diffstat (limited to 'ext/com_dotnet/com_handlers.c')
| -rw-r--r-- | ext/com_dotnet/com_handlers.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ext/com_dotnet/com_handlers.c b/ext/com_dotnet/com_handlers.c index 8a94d00d6b..8424c3acfc 100644 --- a/ext/com_dotnet/com_handlers.c +++ b/ext/com_dotnet/com_handlers.c @@ -253,10 +253,10 @@ static PHP_FUNCTION(com_method_handler) INTERNAL_FUNCTION_PARAM_PASSTHRU); } -static union _zend_function *com_method_get(zend_object **object_ptr, zend_string *name, const zval *key) +static zend_function *com_method_get(zend_object **object_ptr, zend_string *name, const zval *key) { zend_internal_function f, *fptr = NULL; - union _zend_function *func; + zend_function *func; DISPID dummy; php_com_dotnet_object *obj = (php_com_dotnet_object*)*object_ptr; @@ -388,7 +388,7 @@ static int com_call_method(zend_string *method, zend_object *object, INTERNAL_FU return ret; } -static union _zend_function *com_constructor_get(zend_object *object) +static zend_function *com_constructor_get(zend_object *object) { php_com_dotnet_object *obj = (php_com_dotnet_object *) object; static zend_internal_function c, d, v; @@ -401,7 +401,7 @@ static union _zend_function *com_constructor_get(zend_object *object) f.num_args = 0; \ f.fn_flags = 0; \ f.handler = ZEND_FN(fn); \ - return (union _zend_function*)&f; + return (zend_function*)&f; switch (obj->ce->name->val[0]) { #if HAVE_MSCOREE_H |
