summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/xslt/php_xslt.h2
-rw-r--r--ext/xslt/xslt.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/ext/xslt/php_xslt.h b/ext/xslt/php_xslt.h
index c94ea4a744..bc2b88edd8 100644
--- a/ext/xslt/php_xslt.h
+++ b/ext/xslt/php_xslt.h
@@ -50,7 +50,7 @@ extern void xslt_free_arguments(xslt_args *);
extern void xslt_assign_handler(struct xslt_function **, zval **);
extern void xslt_free_handler(struct xslt_function *);
-extern void xslt_call_function(char *, struct xslt_function *, int, zval **, zval **);
+extern void xslt_call_function(char *, zval *, int, zval **, zval **);
extern void xslt_debug(char *, char *, ...);
diff --git a/ext/xslt/xslt.c b/ext/xslt/xslt.c
index 068292d820..92cdf12d3e 100644
--- a/ext/xslt/xslt.c
+++ b/ext/xslt/xslt.c
@@ -225,7 +225,7 @@ extern void xslt_call_function(char *name,
/* Call the function */
error = call_user_function_ex(EG(function_table),
NULL, function,
- retval, argc, argv, O, NULL);
+ retval, argc, argv, 0, NULL);
if (error == FAILURE) {
php_error(E_WARNING, "Cannot call the %s handler: %s",
name, Z_STRVAL_P(function));