summaryrefslogtreecommitdiff
path: root/src/resources/atlas/atlasresource.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/atlas/atlasresource.cpp')
-rw-r--r--src/resources/atlas/atlasresource.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/resources/atlas/atlasresource.cpp b/src/resources/atlas/atlasresource.cpp
index 9ecc32692..48561bbbc 100644
--- a/src/resources/atlas/atlasresource.cpp
+++ b/src/resources/atlas/atlasresource.cpp
@@ -73,9 +73,9 @@ void AtlasResource::decRef()
int AtlasResource::calcMemoryLocal() const
{
- return sizeof(AtlasResource) +
+ return static_cast<int>(sizeof(AtlasResource)) +
Resource::calcMemoryLocal() +
- atlases.capacity() * sizeof(TextureAtlas*);
+ static_cast<int>(atlases.capacity() * sizeof(TextureAtlas*));
}
int AtlasResource::calcMemoryChilds(const int level) const