diff options
author | Sebastian Bergmann <sebastian@php.net> | 2002-02-02 19:47:24 +0000 |
---|---|---|
committer | Sebastian Bergmann <sebastian@php.net> | 2002-02-02 19:47:24 +0000 |
commit | fd884e2bea46244531657526cbf1e32a8bd34f9f (patch) | |
tree | 758370803284568bdba99dfa65fed289b9523e61 /Zend | |
parent | 2c95fc2d553c3ece602bab89d639754cebf8c5a2 (diff) | |
download | php-git-fd884e2bea46244531657526cbf1e32a8bd34f9f.tar.gz |
Fix warning. Again :-)
Diffstat (limited to 'Zend')
-rw-r--r-- | Zend/zend_builtin_functions.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/zend_builtin_functions.c b/Zend/zend_builtin_functions.c index b3c56d751c..ec4c1823b0 100644 --- a/Zend/zend_builtin_functions.c +++ b/Zend/zend_builtin_functions.c @@ -556,7 +556,7 @@ static void is_a_impl(INTERNAL_FUNCTION_PARAMETERS, zend_bool only_subclass) else ce = Z_OBJCE_PP(obj); for (; ce != NULL; ce = ce->parent) { - if ((ce->name_length == Z_STRLEN_PP(class_name)) && !memcmp(ce->name, lcname, ce->name_length)) { + if ((ce->name_length == (uint)Z_STRLEN_PP(class_name)) && !memcmp(ce->name, lcname, ce->name_length)) { efree(lcname); RETURN_TRUE; } |