summaryrefslogtreecommitdiff
path: root/src/resources/atlas/textureatlas.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/atlas/textureatlas.h')
-rw-r--r--src/resources/atlas/textureatlas.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/resources/atlas/textureatlas.h b/src/resources/atlas/textureatlas.h
index 7208a7bf8..78819fa00 100644
--- a/src/resources/atlas/textureatlas.h
+++ b/src/resources/atlas/textureatlas.h
@@ -56,8 +56,8 @@ struct TextureAtlas final : public MemoryCounter
int calcMemoryLocal() const override final
{
- return sizeof(TextureAtlas) +
- items.capacity() * sizeof(AtlasItem*);
+ return static_cast<int>(sizeof(TextureAtlas) +
+ items.capacity() * sizeof(AtlasItem*));
}
int calcMemoryChilds(const int level) const override final