Differences From Artifact [12ab796c0f]:
- File src/OFNumber.m — part of check-in [526feacebc] at 2017-11-11 23:27:09 on branch trunk — Small optimization for -[isEqual:] (user: js, size: 24356) [annotate] [blame] [check-ins using]
To Artifact [64757a4f33]:
- File
src/OFNumber.m
— part of check-in
[11f24addd7]
at
2017-11-19 12:05:42
on branch trunk
— Fix warnings introduced by OFComparing change
Since OFComparing no longer conforms to OFObject, OFObject needed to be
added at a few places. (user: js, size: 24366) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
759 760 761 762 763 764 765 | if (_type & OF_NUMBER_TYPE_SIGNED || number->_type & OF_NUMBER_TYPE_SIGNED) return ([number intMaxValue] == [self intMaxValue]); return ([number uIntMaxValue] == [self uIntMaxValue]); } | | | 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 | if (_type & OF_NUMBER_TYPE_SIGNED || number->_type & OF_NUMBER_TYPE_SIGNED) return ([number intMaxValue] == [self intMaxValue]); return ([number uIntMaxValue] == [self uIntMaxValue]); } - (of_comparison_result_t)compare: (id <OFObject, OFComparing>)object { OFNumber *number; if (![object isKindOfClass: [OFNumber class]]) @throw [OFInvalidArgumentException exception]; number = (OFNumber *)object; |
︙ | ︙ |