diff options
Diffstat (limited to 'src/resources/resourcemanager.cpp')
-rw-r--r-- | src/resources/resourcemanager.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/resources/resourcemanager.cpp b/src/resources/resourcemanager.cpp index 2b1c3450d..b4eea1299 100644 --- a/src/resources/resourcemanager.cpp +++ b/src/resources/resourcemanager.cpp @@ -1078,12 +1078,12 @@ int ResourceManager::calcMemoryChilds(const int level) const int sz = 0; FOR_EACH (ResourceCIterator, it, mResources) { - sz += (*it).first.capacity(); + sz += static_cast<int>((*it).first.capacity()); sz += (*it).second->calcMemory(level + 1); } FOR_EACH (ResourceCIterator, it, mOrphanedResources) { - sz += (*it).first.capacity(); + sz += static_cast<int>((*it).first.capacity()); sz += (*it).second->calcMemory(level + 1); } FOR_EACH (std::set<Resource*>::const_iterator, it, mDeletedResources) |