[tor-bugs] #23714 [Core Tor/Tor]: stop casting small integers to (void *)

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Dec 4 05:41:56 UTC 2017


#23714: stop casting small integers to (void *)
----------------------------------------+----------------------------------
 Reporter:  catalyst                    |          Owner:  (none)
     Type:  defect                      |         Status:  new
 Priority:  Medium                      |      Milestone:  Tor: unspecified
Component:  Core Tor/Tor                |        Version:
 Severity:  Normal                      |     Resolution:
 Keywords:  portability technical-debt  |  Actual Points:
Parent ID:                              |         Points:
 Reviewer:                              |        Sponsor:
----------------------------------------+----------------------------------

Comment (by teor):

 Another option is to make the pointer member into a union type of pointer
 and integer.
 This shouldn't take any extra RAM.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/23714#comment:1>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list