Skip to content

Commit fd884e2

Browse files
Fix warning. Again :-)
1 parent 2c95fc2 commit fd884e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Zend/zend_builtin_functions.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -556,7 +556,7 @@ static void is_a_impl(INTERNAL_FUNCTION_PARAMETERS, zend_bool only_subclass)
556556
else
557557
ce = Z_OBJCE_PP(obj);
558558
for (; ce != NULL; ce = ce->parent) {
559-
if ((ce->name_length == Z_STRLEN_PP(class_name)) && !memcmp(ce->name, lcname, ce->name_length)) {
559+
if ((ce->name_length == (uint)Z_STRLEN_PP(class_name)) && !memcmp(ce->name, lcname, ce->name_length)) {
560560
efree(lcname);
561561
RETURN_TRUE;
562562
}

0 commit comments

Comments
 (0)