felipe                                   Mon, 25 Jul 2011 11:51:43 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=313667

Log:
- Fix compiler warning

Changed paths:
    U   php/php-src/branches/PHP_5_4/Zend/zend_builtin_functions.c
    U   php/php-src/trunk/Zend/zend_builtin_functions.c

Modified: php/php-src/branches/PHP_5_4/Zend/zend_builtin_functions.c
===================================================================
--- php/php-src/branches/PHP_5_4/Zend/zend_builtin_functions.c  2011-07-25 
11:50:10 UTC (rev 313666)
+++ php/php-src/branches/PHP_5_4/Zend/zend_builtin_functions.c  2011-07-25 
11:51:43 UTC (rev 313667)
@@ -1215,7 +1215,7 @@

                found = zend_hash_find(EG(class_table), name, len+1, (void **) 
&ce);
                free_alloca(lc_name, use_heap);
-               RETURN_BOOL(found == SUCCESS && !((*ce)->ce_flags & 
(ZEND_ACC_INTERFACE | ZEND_ACC_TRAIT) > ZEND_ACC_EXPLICIT_ABSTRACT_CLASS));
+               RETURN_BOOL(found == SUCCESS && !(((*ce)->ce_flags & 
(ZEND_ACC_INTERFACE | ZEND_ACC_TRAIT)) > ZEND_ACC_EXPLICIT_ABSTRACT_CLASS));
        }

        if (zend_lookup_class(class_name, class_name_len, &ce TSRMLS_CC) == 
SUCCESS) {

Modified: php/php-src/trunk/Zend/zend_builtin_functions.c
===================================================================
--- php/php-src/trunk/Zend/zend_builtin_functions.c     2011-07-25 11:50:10 UTC 
(rev 313666)
+++ php/php-src/trunk/Zend/zend_builtin_functions.c     2011-07-25 11:51:43 UTC 
(rev 313667)
@@ -1215,7 +1215,7 @@

                found = zend_hash_find(EG(class_table), name, len+1, (void **) 
&ce);
                free_alloca(lc_name, use_heap);
-               RETURN_BOOL(found == SUCCESS && !((*ce)->ce_flags & 
(ZEND_ACC_INTERFACE | ZEND_ACC_TRAIT) > ZEND_ACC_EXPLICIT_ABSTRACT_CLASS));
+               RETURN_BOOL(found == SUCCESS && !(((*ce)->ce_flags & 
(ZEND_ACC_INTERFACE | ZEND_ACC_TRAIT)) > ZEND_ACC_EXPLICIT_ABSTRACT_CLASS));
        }

        if (zend_lookup_class(class_name, class_name_len, &ce TSRMLS_CC) == 
SUCCESS) {

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to