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