summaryrefslogtreecommitdiff
path: root/filecache.cpp
diff options
context:
space:
mode:
authorouwou <26526779+ouwou@users.noreply.github.com>2021-11-18 01:03:35 -0500
committerouwou <26526779+ouwou@users.noreply.github.com>2021-11-18 01:03:35 -0500
commit9c285a09e50ce9d4b786c9f28402e94a9f4fb418 (patch)
tree78701d71461b48e3f8083b45b1f420362950ef0a /filecache.cpp
parent1f68da6b77c82f462472385a8e31a578c4c5caed (diff)
parent9d21df8e1bca9ccfa1bcfcde3bc8f35473866166 (diff)
downloadabaddon-portaudio-9c285a09e50ce9d4b786c9f28402e94a9f4fb418.tar.gz
abaddon-portaudio-9c285a09e50ce9d4b786c9f28402e94a9f4fb418.zip
Merge branch 'master' of https://github.com/uowuo/abaddon into msys
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();