@@ -761,15 +761,15 @@ return ([number intMaxValue] == [self intMaxValue]); return ([number uIntMaxValue] == [self uIntMaxValue]); } -- (of_comparison_result_t)compare: (id )object +- (of_comparison_result_t)compare: (id )object { OFNumber *number; - if (![object isKindOfClass: [OFNumber class]]) + if (![(id)object isKindOfClass: [OFNumber class]]) @throw [OFInvalidArgumentException exception]; number = (OFNumber *)object; if (_type & OF_NUMBER_TYPE_FLOAT ||