From: Sebastian Bergmann Date: Sat, 2 Feb 2002 19:47:24 +0000 (+0000) Subject: Fix warning. Again :-) X-Git-Tag: PRE_ISSET_PATCH~11 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=fd884e2bea46244531657526cbf1e32a8bd34f9f;p=php Fix warning. Again :-) --- 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; }