Index: src/OFIntrospection.m ================================================================== --- src/OFIntrospection.m +++ src/OFIntrospection.m @@ -113,11 +113,13 @@ return NO; if ((otherMethod->typeEncoding == NULL && typeEncoding != NULL) || (otherMethod->typeEncoding != NULL && typeEncoding == NULL)) return NO; - if (strcmp(otherMethod->typeEncoding, typeEncoding)) + + if (otherMethod->typeEncoding != NULL && typeEncoding != NULL && + strcmp(otherMethod->typeEncoding, typeEncoding)) return NO; return YES; }