From: krakjoe Date: Mon, 11 Aug 2014 05:47:09 +0000 (+0100) Subject: fix incorrect cast of comparison function and signature of function X-Git-Tag: POST_PHPNG_MERGE~26 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1d01e2334cc6749d0af0164d578e6307b5f92323;p=php fix incorrect cast of comparison function and signature of function --- diff --git a/Zend/zend_operators.c b/Zend/zend_operators.c index c34b5c7f32..403eb7c290 100644 --- a/Zend/zend_operators.c +++ b/Zend/zend_operators.c @@ -1888,10 +1888,9 @@ ZEND_API int compare_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) /* { } /* }}} */ -static int hash_zval_identical_function(zval *z1, zval *z2) /* {{{ */ +static int hash_zval_identical_function(zval *z1, zval *z2 TSRMLS_DC) /* {{{ */ { zval result; - TSRMLS_FETCH(); /* is_identical_function() returns 1 in case of identity and 0 in case * of a difference;