From 4c6264db7ad4f0ae8a6c001903b47741abb94d8c Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 29 May 2016 14:55:40 +0300 Subject: Fix code style. --- src/resources/map/objectslayer.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/resources/map') diff --git a/src/resources/map/objectslayer.cpp b/src/resources/map/objectslayer.cpp index b121fbcf9..87fe11a94 100644 --- a/src/resources/map/objectslayer.cpp +++ b/src/resources/map/objectslayer.cpp @@ -79,6 +79,6 @@ MapObjectList *ObjectsLayer::getAt(const unsigned x, const unsigned y) const int ObjectsLayer::calcMemoryLocal() const { - return sizeof(ObjectsLayer) + - (sizeof(MapObjectList) + sizeof(MapObjectList*)) * mWidth * mHeight; + return CAST_S32(sizeof(ObjectsLayer) + + (sizeof(MapObjectList) + sizeof(MapObjectList*)) * mWidth * mHeight); } -- cgit v1.2.3-70-g09d2