diff options
| author | Andi Gutmans <andi@php.net> | 2004-09-28 19:46:57 +0000 | 
|---|---|---|
| committer | Andi Gutmans <andi@php.net> | 2004-09-28 19:46:57 +0000 | 
| commit | 3e2b49ab5beff6ed57a7a889400baa5c345bc542 (patch) | |
| tree | 8ea1959364da70f988fcebab2fedf70db3e4ac6d | |
| parent | b907755e3c43d2a6fbf0992ace6e910cbee57012 (diff) | |
| download | php-git-3e2b49ab5beff6ed57a7a889400baa5c345bc542.tar.gz | |
- Return the warning until we check if we can change the type of str.len
| -rw-r--r-- | Zend/zend_execute_API.c | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/Zend/zend_execute_API.c b/Zend/zend_execute_API.c index 03994e7035..45d585f596 100644 --- a/Zend/zend_execute_API.c +++ b/Zend/zend_execute_API.c @@ -479,7 +479,7 @@ ZEND_API int zval_update_constant(zval **pp, void *arg TSRMLS_DC)  				continue;  			} -			if (const_value.type == IS_STRING && (uint)const_value.value.str.len == str_index_len-1 && +			if (const_value.type == IS_STRING && const_value.value.str.len == str_index_len-1 &&  			   !strncmp(const_value.value.str.val, str_index, str_index_len)) {  				/* constant value is the same as its name */  				zval_dtor(&const_value); | 
