summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfoobar <sniper@php.net>2001-05-28 21:06:50 +0000
committerfoobar <sniper@php.net>2001-05-28 21:06:50 +0000
commit3e7754c51e9fa2d727d543f28b47e4f3e31b98a4 (patch)
treebca071ad99a80a8bff67fe9dafc2e702f44f8769
parent0404618712f7a802e87af17e1c540ac856e4d1f4 (diff)
downloadphp-git-3e7754c51e9fa2d727d543f28b47e4f3e31b98a4.tar.gz
Make this compile. Killed one compile warning.
# I still get a lot warnings when compiling sablot.c
-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));