Skip to content

Commit 1d01e23

Browse files
committed
fix incorrect cast of comparison function and signature of function
1 parent dc70139 commit 1d01e23

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Zend/zend_operators.c

+1-2
Original file line numberDiff line numberDiff line change
@@ -1888,10 +1888,9 @@ ZEND_API int compare_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) /* {
18881888
}
18891889
/* }}} */
18901890

1891-
static int hash_zval_identical_function(zval *z1, zval *z2) /* {{{ */
1891+
static int hash_zval_identical_function(zval *z1, zval *z2 TSRMLS_DC) /* {{{ */
18921892
{
18931893
zval result;
1894-
TSRMLS_FETCH();
18951894

18961895
/* is_identical_function() returns 1 in case of identity and 0 in case
18971896
* of a difference;

0 commit comments

Comments
 (0)