Differences From 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]
To Artifact [266c1e5fc4]:
- File src/OFNumber.m — part of check-in [615a9f2eba] at 2017-11-19 12:56:14 on branch trunk — Fix compilation with GCC (user: js, size: 24360) [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 774 775 776 777 | 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 <OFComparing>)object { OFNumber *number; if (![(id)object isKindOfClass: [OFNumber class]]) @throw [OFInvalidArgumentException exception]; number = (OFNumber *)object; if (_type & OF_NUMBER_TYPE_FLOAT || number->_type & OF_NUMBER_TYPE_FLOAT) { double double1 = [self doubleValue]; |
︙ | ︙ |