Skip to content

Commit 77792a1

Browse files
committed
Fix types.
1 parent 2c224f9 commit 77792a1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/client/online_checker/online_checker_direct.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ namespace client {
3030

3131
namespace {
3232

33-
const qint64 kNumberOfParallelTasks = 30;
33+
const qsizetype kNumberOfParallelTasks = 30;
3434
const std::chrono::seconds kTimeout { 15 };
3535

3636
} // namespace
@@ -163,7 +163,7 @@ void OnlineCheckerDirect::start(const ComputerList& computers)
163163
return;
164164
}
165165

166-
int count = std::min(pending_queue_.size(), kNumberOfParallelTasks);
166+
qsizetype count = std::min(pending_queue_.size(), kNumberOfParallelTasks);
167167
while (count != 0)
168168
{
169169
const Computer& computer = pending_queue_.front();

0 commit comments

Comments
 (0)