]> granicus.if.org Git - transmission/commitdiff
(trunk libT) tweak r7985
authorCharles Kerr <charles@transmissionbt.com>
Sun, 1 Mar 2009 17:38:23 +0000 (17:38 +0000)
committerCharles Kerr <charles@transmissionbt.com>
Sun, 1 Mar 2009 17:38:23 +0000 (17:38 +0000)
libtransmission/torrent.c

index 2338491f65435f31b6368880359946cece31e885..ed874132f83495c8748584b7f18de283e37d68c1 100644 (file)
@@ -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;