We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2c224f9 commit 77792a1Copy full SHA for 77792a1
source/client/online_checker/online_checker_direct.cc
@@ -30,7 +30,7 @@ namespace client {
30
31
namespace {
32
33
-const qint64 kNumberOfParallelTasks = 30;
+const qsizetype kNumberOfParallelTasks = 30;
34
const std::chrono::seconds kTimeout { 15 };
35
36
} // namespace
@@ -163,7 +163,7 @@ void OnlineCheckerDirect::start(const ComputerList& computers)
163
return;
164
}
165
166
- int count = std::min(pending_queue_.size(), kNumberOfParallelTasks);
+ qsizetype count = std::min(pending_queue_.size(), kNumberOfParallelTasks);
167
while (count != 0)
168
{
169
const Computer& computer = pending_queue_.front();
0 commit comments