summaryrefslogtreecommitdiff
path: root/ext/xsl
diff options
context:
space:
mode:
authorPierre Joye <pajoye@php.net>2011-07-14 11:12:33 +0000
committerPierre Joye <pajoye@php.net>2011-07-14 11:12:33 +0000
commit894a746a8067ac8c9c7e9bfb238cb13752099712 (patch)
treed2e68530b003e7c367b78b96e2c7d6c8b30d8b90 /ext/xsl
parentcf9aaf22ced4ba2c462f09e230fb095f8097141a (diff)
downloadphp-git-894a746a8067ac8c9c7e9bfb238cb13752099712.tar.gz
- fix build
Diffstat (limited to 'ext/xsl')
-rw-r--r--ext/xsl/xsltprocessor.c5
1 files 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);