summaryrefslogtreecommitdiff
path: root/src/resources/atlas/textureatlas.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-05-06 19:18:09 +0300
committerAndrei Karas <akaras@inbox.ru>2016-05-06 19:18:09 +0300
commitf3d00667c5a1bffa5a04d5e86676caca6979b58d (patch)
tree8c326bea9dfeee35670ad201f39818fc1a7765bc /src/resources/atlas/textureatlas.h
parentbbfe142ec3b7879bbd618f36367f95c030d65968 (diff)
downloadmanaverse-f3d00667c5a1bffa5a04d5e86676caca6979b58d.tar.gz
manaverse-f3d00667c5a1bffa5a04d5e86676caca6979b58d.tar.bz2
manaverse-f3d00667c5a1bffa5a04d5e86676caca6979b58d.tar.xz
manaverse-f3d00667c5a1bffa5a04d5e86676caca6979b58d.zip
Fix code style.
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