@@ -385,11 +385,11 @@ #if defined(OF_OBJFW_RUNTIME) for (struct objc_method_list *methodlist = object_getClass(class)->methodlist; methodlist != NULL; methodlist = methodlist->next) { - for (int i = 0; i < methodlist->count; i++) { + for (unsigned int i = 0; i < methodlist->count; i++) { SEL selector = (SEL)&methodlist->methods[i].sel; /* * Don't replace methods implemented in the receiving * class. @@ -403,11 +403,11 @@ } } for (struct objc_method_list *methodlist = class->methodlist; methodlist != NULL; methodlist = methodlist->next) { - for (int i = 0; i < methodlist->count; i++) { + for (unsigned int i = 0; i < methodlist->count; i++) { SEL selector = (SEL)&methodlist->methods[i].sel; /* * Don't replace methods implemented in the receiving * class.