- cleanup some compiler warnings
This commit is contained in:
parent
e2c4ae7c11
commit
59fc55ffee
|
@ -63,7 +63,7 @@ void FileCRCPreCacheThread::execute() {
|
||||||
findDirs(techDataPaths, techPaths);
|
findDirs(techDataPaths, techPaths);
|
||||||
if(techPaths.empty() == false) {
|
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) {
|
if(techPaths.size() % MAX_FileCRCPreCacheThread_WORKER_THREADS != 0) {
|
||||||
techsPerWorker++;
|
techsPerWorker++;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user