pajoye Thu, 14 Jul 2011 11:12:33 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=313235
Log: - fix build Changed paths: U php/php-src/branches/PHP_5_4/ext/xsl/xsltprocessor.c U php/php-src/trunk/ext/xsl/xsltprocessor.c Modified: php/php-src/branches/PHP_5_4/ext/xsl/xsltprocessor.c =================================================================== --- php/php-src/branches/PHP_5_4/ext/xsl/xsltprocessor.c 2011-07-14 11:07:17 UTC (rev 313234) +++ php/php-src/branches/PHP_5_4/ext/xsl/xsltprocessor.c 2011-07-14 11:12:33 UTC (rev 313235) @@ -916,8 +916,9 @@ { zval *id; xsl_object *intern; + long securityPrefs, oldSecurityPrefs; + DOM_GET_THIS(id); - long securityPrefs, oldSecurityPrefs; if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &securityPrefs) == FAILURE) { return; } @@ -933,9 +934,9 @@ { 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); Modified: php/php-src/trunk/ext/xsl/xsltprocessor.c =================================================================== --- php/php-src/trunk/ext/xsl/xsltprocessor.c 2011-07-14 11:07:17 UTC (rev 313234) +++ php/php-src/trunk/ext/xsl/xsltprocessor.c 2011-07-14 11:12:33 UTC (rev 313235) @@ -916,8 +916,9 @@ { zval *id; xsl_object *intern; + long securityPrefs, oldSecurityPrefs; + DOM_GET_THIS(id); - long securityPrefs, oldSecurityPrefs; if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &securityPrefs) == FAILURE) { return; } @@ -933,9 +934,9 @@ { 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);
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php