[tor-bugs] #22915 [Core Tor/Tor]: clang 4.0 double promotion warnings in clamp_double_to_int64()

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed Jul 26 16:05:18 UTC 2017


#22915: clang 4.0 double promotion warnings in clamp_double_to_int64()
-------------------------------------------------+-------------------------
 Reporter:  nickm                                |          Owner:  nickm
     Type:  defect                               |         Status:
                                                 |  merge_ready
 Priority:  Medium                               |      Milestone:  Tor:
                                                 |  0.3.2.x-final
Component:  Core Tor/Tor                         |        Version:
 Severity:  Normal                               |     Resolution:
 Keywords:  029-backport, 030-backport,          |  Actual Points:
  031-backport, review-group-21                  |
Parent ID:                                       |         Points:  .1
 Reviewer:  ahf                                  |        Sponsor:
-------------------------------------------------+-------------------------
Changes (by ahf):

 * status:  needs_review => merge_ready
 * reviewer:   => ahf


Comment:

 Minor typo in a comment:

 {{{
 since clang things we're promoting a double to a long double.
 }}}

 should be:

 {{{
 since clang thinks we're promoting a double to a long double.
 }}}

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


More information about the tor-bugs mailing list