From 4488350bb501cdf49717f7ad375de409b8902ae2 Mon Sep 17 00:00:00 2001 From: Pierre Joye Date: Thu, 14 Jul 2011 11:12:33 +0000 Subject: [PATCH] - fix build --- ext/xsl/xsltprocessor.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ext/xsl/xsltprocessor.c b/ext/xsl/xsltprocessor.c index 82a223787a..59c8bed8b0 100644 --- a/ext/xsl/xsltprocessor.c +++ b/ext/xsl/xsltprocessor.c @@ -916,8 +916,9 @@ PHP_FUNCTION(xsl_xsltprocessor_set_security_prefs) { zval *id; xsl_object *intern; - DOM_GET_THIS(id); long securityPrefs, oldSecurityPrefs; + + DOM_GET_THIS(id); if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &securityPrefs) == FAILURE) { return; } @@ -933,9 +934,9 @@ PHP_FUNCTION(xsl_xsltprocessor_get_security_prefs) { zval *id; xsl_object *intern; - DOM_GET_THIS(id); long securityPrefs; + DOM_GET_THIS(id); if (zend_parse_parameters_ex(ZEND_PARSE_PARAMS_QUIET, ZEND_NUM_ARGS() TSRMLS_CC, "") == SUCCESS) { intern = (xsl_object *)zend_object_store_get_object(id TSRMLS_CC); RETURN_LONG(intern->securityPrefs); -- 2.40.0