[tor-bugs] #14764 [Tor]: powerpc32 compilation failures due to char signedness issues.

Tor Bug Tracker & Wiki blackhole at torproject.org
Fri Feb 6 16:17:11 UTC 2015


#14764: powerpc32 compilation failures due to char signedness issues.
------------------------------------+------------------------------------
 Reporter:  yawning                 |          Owner:  yawning
     Type:  defect                  |         Status:  new
 Priority:  normal                  |      Milestone:  Tor: 0.2.6.x-final
Component:  Tor                     |        Version:  Tor: 0.2.6.1-alpha
 Keywords:  tor, easy, portability  |  Actual Points:
Parent ID:                          |         Points:
------------------------------------+------------------------------------
 Originally reported in: https://lists.torproject.org/pipermail/tor-
 dev/2015-February/008231.html

 One of the scheduler functions uses a `char` as an argument to pass a
 `-1`/`1` value, which causes GCC to issue warnings on platforms where
 `char` defaults to unsigned.  While the patch does address the issue,
 after discussion with nickm, the argument is better changed to an int.

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


More information about the tor-bugs mailing list