]> granicus.if.org Git - php/commitdiff
fix incorrect cast of comparison function and signature of function
authorkrakjoe <joe.watkins@live.co.uk>
Mon, 11 Aug 2014 05:47:09 +0000 (06:47 +0100)
committerkrakjoe <joe.watkins@live.co.uk>
Mon, 11 Aug 2014 05:47:09 +0000 (06:47 +0100)
Zend/zend_operators.c

index c34b5c7f3221746a8f0f2c04b6bdc68589b9e804..403eb7c2905a39ddd9aff13da84e89eabddd462a 100644 (file)
@@ -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;