Use appropriate type

This commit is contained in:
Chocobo1
2019-06-18 23:36:45 +08:00
parent 516c968373
commit 4880dc812c
3 changed files with 5 additions and 5 deletions

View File

@@ -1532,7 +1532,7 @@ void Session::processShareLimits()
}
if (torrent->seedingTimeLimit() != TorrentHandle::NO_SEEDING_TIME_LIMIT) {
const int seedingTimeInMinutes = torrent->seedingTime() / 60;
const qlonglong seedingTimeInMinutes = torrent->seedingTime() / 60;
int seedingTimeLimit = torrent->seedingTimeLimit();
if (seedingTimeLimit == TorrentHandle::USE_GLOBAL_SEEDING_TIME)
// If Global Seeding Time Limit is really set...