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/atlas/textureatlas.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/resources/atlas/textureatlas.h') 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(sizeof(TextureAtlas) + + items.capacity() * sizeof(AtlasItem*)); } int calcMemoryChilds(const int level) const override final -- cgit v1.2.3-70-g09d2