Differences From Artifact [39a371a7d5]:
- File
src/OFASN1Integer.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: 2899) [annotate] [blame] [check-ins using] [more...]
To Artifact [e6486b0fce]:
- File
src/OFASN1Integer.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: 2909) [annotate] [blame] [check-ins using] [more...]
︙ | ︙ | |||
109 110 111 112 113 114 115 | if (integer->_longLongValue != _longLongValue) return false; return true; } | | | | 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 | if (integer->_longLongValue != _longLongValue) return false; return true; } - (unsigned long)hash { return (unsigned long)_longLongValue; } - (OFString *)description { return [OFString stringWithFormat: @"<OFASN1Integer: %lld>", _longLongValue]; } @end |