summaryrefslogtreecommitdiff
path: root/filecache.cpp
diff options
context:
space:
mode:
authorDylam De La Torre <DyXel04@gmail.com>2021-11-16 20:38:14 +0100
committerGitHub <noreply@github.com>2021-11-16 19:38:14 +0000
commit9d21df8e1bca9ccfa1bcfcde3bc8f35473866166 (patch)
tree5d2ea9d83bd779f325c1c48728fc9ac5832cdc5e /filecache.cpp
parent108002248c0739078302e00d5ca224a44b93ea56 (diff)
downloadabaddon-portaudio-9d21df8e1bca9ccfa1bcfcde3bc8f35473866166.tar.gz
abaddon-portaudio-9d21df8e1bca9ccfa1bcfcde3bc8f35473866166.zip
Fix warnings shown by GCC (#47)
* fix all warnings shown by GCC
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();