@@ -378,21 +378,21 @@ return NO; return YES; } -- (of_comparison_result_t)compare: (id)object +- (of_comparison_result_t)compare: (id )object { OFDataArray *otherDataArray; int comparison; size_t otherCount, minimumCount; if (![object isKindOfClass: [OFDataArray class]]) @throw [OFInvalidArgumentException exceptionWithClass: [self class] selector: _cmd]; - otherDataArray = object; + otherDataArray = (OFDataArray*)object; if ([otherDataArray itemSize] != itemSize) @throw [OFInvalidArgumentException exceptionWithClass: [self class] selector: _cmd];