mirror of
https://github.com/glest/glest-source.git
synced 2025-08-18 14:11:15 +02:00
- cleanup some compiler warnings
This commit is contained in:
@@ -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++;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user