Differences From Artifact [78253ff0bd]:
- File
src/OFASN1Enumerated.m
— part of check-in
[d74f244ab7]
at
2020-08-12 20:56:32
on branch trunk
— Avoid using (u)intmax_t in methods
It is not guaranteed that a type encoding for it exists. (user: js, size: 2356) [annotate] [blame] [check-ins using] [more...]
To Artifact [ba2cabe5ff]:
- File
src/OFASN1Enumerated.m
— part of check-in
[aeb403a1ed]
at
2020-10-10 14:27:37
on branch trunk
— OFObject: Change type of -[hash] to unsigned long
The internal hash is still 32 bit in most places, but this way, it is at
least not baked into the API and ABI and can be upgraded later, should
that ever be necessary. (user: js, size: 2366) [annotate] [blame] [check-ins using] [more...]
︙ | ︙ | |||
87 88 89 90 91 92 93 | if (enumerated->_longLongValue != _longLongValue) return false; return true; } | | | | 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 | if (enumerated->_longLongValue != _longLongValue) return false; return true; } - (unsigned long)hash { return (unsigned long)_longLongValue; } - (OFString *)description { return [OFString stringWithFormat: @"<OFASN1Enumerated: %lld>", _longLongValue]; } @end |