Changeset 13935


Ignore:
Timestamp:
Feb 2, 2013, 4:31:05 PM (8 years ago)
Author:
jordan
Message:

(libT) #5267: 'speed limits wrap around too low number (~8589 kB/s)': patch by const

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/bandwidth.c

    r13868 r13935  
    185185    {
    186186      const uint64_t nextPulseSpeed = b->band[dir].desiredSpeed_Bps;
    187       b->band[dir].bytesLeft = (unsigned int)(nextPulseSpeed * period_msec) / 1000u;
     187      b->band[dir].bytesLeft = nextPulseSpeed * period_msec / 1000u;
    188188    }
    189189
Note: See TracChangeset for help on using the changeset viewer.