[tor-bugs] #25278 [Core Tor/Tor]: clean up torint.h
Tor Bug Tracker & Wiki
blackhole at torproject.org
Fri Feb 16 14:26:39 UTC 2018
#25278: clean up torint.h
------------------------------+------------------------------
Reporter: Hello71 | Owner: Hello71
Type: defect | Status: assigned
Priority: Low | Milestone: Tor: unspecified
Component: Core Tor/Tor | Version:
Severity: Minor | Keywords:
Actual Points: | Parent ID:
Points: | Reviewer:
Sponsor: |
------------------------------+------------------------------
1. these shims do not produce ISO C compliant types, since (u)intN_t are
specified to have no padding bits (and that intN_t uses two's complement).
the limit macros would also be incorrect in such a case.
2. C99 requires that if the implementation does provide such standard
integer types, it must also define the intN_t types.
3. (u)intx_t are available almost everywhere now anyways
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/25278>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list