summaryrefslogtreecommitdiff
path: root/Zend/zend_execute_API.c
diff options
context:
space:
mode:
authorMarcus Boerger <helly@php.net>2006-02-26 10:57:00 +0000
committerMarcus Boerger <helly@php.net>2006-02-26 10:57:00 +0000
commit5a69b290824828833e3587cb04478316cae5e39c (patch)
treef1fc508b2375533384853944679d23a42a9c806c /Zend/zend_execute_API.c
parent84fc80064bf2630f622c24ae5c43ac05d5628608 (diff)
downloadphp-git-5a69b290824828833e3587cb04478316cae5e39c.tar.gz
- Warning fixes by Steph
Diffstat (limited to 'Zend/zend_execute_API.c')
-rw-r--r--Zend/zend_execute_API.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/zend_execute_API.c b/Zend/zend_execute_API.c
index 40a7d9ba5b..ea89f093d5 100644
--- a/Zend/zend_execute_API.c
+++ b/Zend/zend_execute_API.c
@@ -482,7 +482,7 @@ ZEND_API int zval_update_constant(zval **pp, void *arg TSRMLS_DC)
continue;
}
- if (const_value.type == IS_STRING && const_value.value.str.len == str_index_len-1 &&
+ if (const_value.type == IS_STRING && const_value.value.str.len == (int)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);