From: Charles Kerr Date: Sun, 1 Mar 2009 17:38:23 +0000 (+0000) Subject: (trunk libT) tweak r7985 X-Git-Tag: 1.60~303 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6fc252e007c74fb4faac7a12780b785cc2ed1ad6;p=transmission (trunk libT) tweak r7985 --- diff --git a/libtransmission/torrent.c b/libtransmission/torrent.c index 2338491f6..ed874132f 100644 --- a/libtransmission/torrent.c +++ b/libtransmission/torrent.c @@ -2128,7 +2128,7 @@ tr_torrentCheckSeedRatio( tr_torrent * tor ) /* if we're seeding and we've reached our seed ratio limit, stop the torrent */ if( tr_torrentIsSeed( tor ) && tr_torrentGetSeedRatio( tor, &seedRatio ) ) { - const double up = tor->uploadedCur + tor->uploadedPrev; + const uint64_t up = tor->uploadedCur + tor->uploadedPrev; uint64_t down = tor->downloadedCur + tor->downloadedPrev; double ratio;