From f3d00667c5a1bffa5a04d5e86676caca6979b58d Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 6 May 2016 19:18:09 +0300 Subject: Fix code style. --- src/resources/resourcemanager.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/resources/resourcemanager.cpp') 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((*it).first.capacity()); sz += (*it).second->calcMemory(level + 1); } FOR_EACH (ResourceCIterator, it, mOrphanedResources) { - sz += (*it).first.capacity(); + sz += static_cast((*it).first.capacity()); sz += (*it).second->calcMemory(level + 1); } FOR_EACH (std::set::const_iterator, it, mDeletedResources) -- cgit v1.2.3-70-g09d2