diff --git a/libtransmission/peer-mgr.c b/libtransmission/peer-mgr.c index 376fd1942..1d8922a2a 100644 --- a/libtransmission/peer-mgr.c +++ b/libtransmission/peer-mgr.c @@ -2892,9 +2892,9 @@ rechokeDownloads (tr_swarm * s) const double mult = MIN (timeSinceCancel, maxHistory) / (double) maxHistory; const int inc = maxIncrease * mult; maxPeers = s->maxPeers + inc; - tordbg (s, "time since last cancel is %li -- increasing the " + tordbg (s, "time since last cancel is %lli -- increasing the " "number of peers we're interested in by %d", - timeSinceCancel, inc); + (long long)timeSinceCancel, inc); } }