summaryrefslogtreecommitdiff
path: root/filecache.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'filecache.cpp')
-rw-r--r--filecache.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/filecache.cpp b/filecache.cpp
index 05572f0..a731750 100644
--- a/filecache.cpp
+++ b/filecache.cpp
@@ -142,7 +142,7 @@ void FileCacheWorkerThread::loop() {
m_cv.wait(lock);
}
- static const auto concurrency = Abaddon::Get().GetSettings().GetCacheHTTPConcurrency();
+ static const auto concurrency = static_cast<size_t>(Abaddon::Get().GetSettings().GetCacheHTTPConcurrency());
if (m_handles.size() < concurrency) {
std::optional<QueueEntry> entry;
m_queue_mutex.lock();