com php-src: Fixed array comparation: Zend/zend_operators.c

From: Date: Tue, 25 Feb 2014 04:31:35 +0000
Subject: com php-src: Fixed array comparation: Zend/zend_operators.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-77960@lists.php.net to get a copy of this message
Commit: d35a068aa62d58454f7af6f5f657fe3ef9e54067 Author: Xinchen Hui <laruence@gmail.com> Tue, 25 Feb 2014 12:31:35 +0800 Parents: 1dc69e86f9bac32111df530f0f5a4740f59c5295 Branches: phpng Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=d35a068aa62d58454f7af6f5f657fe3ef9e54067 Log: Fixed array comparation Changed paths: M Zend/zend_operators.c Diff: diff --git a/Zend/zend_operators.c b/Zend/zend_operators.c index 7e77d97..9b46ae4 100644 --- a/Zend/zend_operators.c +++ b/Zend/zend_operators.c @@ -2306,11 +2306,11 @@ string_cmp: } /* }}} */ -static int hash_zval_compare_function(const zval **z1, const zval **z2 TSRMLS_DC) /* {{{ */ +static int hash_zval_compare_function(const zval *z1, const zval *z2 TSRMLS_DC) /* {{{ */ { zval result; - if (compare_function(&result, (zval *) *z1, (zval *) *z2 TSRMLS_CC)==FAILURE) { + if (compare_function(&result, z1, z2 TSRMLS_CC)==FAILURE) { return 1; } return Z_LVAL(result);

« previous php.cvs (#77960) next »