diff --git a/source/shared_lib/sources/platform/common/simple_threads.cpp b/source/shared_lib/sources/platform/common/simple_threads.cpp index b224ad0a..50656a19 100644 --- a/source/shared_lib/sources/platform/common/simple_threads.cpp +++ b/source/shared_lib/sources/platform/common/simple_threads.cpp @@ -63,7 +63,7 @@ void FileCRCPreCacheThread::execute() { findDirs(techDataPaths, techPaths); if(techPaths.empty() == false) { - int techsPerWorker = (techPaths.size() / MAX_FileCRCPreCacheThread_WORKER_THREADS); + unsigned int techsPerWorker = (techPaths.size() / MAX_FileCRCPreCacheThread_WORKER_THREADS); if(techPaths.size() % MAX_FileCRCPreCacheThread_WORKER_THREADS != 0) { techsPerWorker++; }