diff --git a/protocol.c b/protocol.c index 5b9e42e..c683277 100644 --- a/protocol.c +++ b/protocol.c @@ -198,7 +198,7 @@ PRIVATE void objc_init_protocols(struct objc_protocol_list *protocols) set_buffered_object_at_index(protocols, buffered_objects++); return; } - if (buffered_objects > 0) { return; } + if (buffered_objects == 0) { return; } // If we can load one protocol, then we can load all of them. for (unsigned i=0 ; i