summaryrefslogtreecommitdiff
path: root/src/resources/map/walklayer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/map/walklayer.cpp')
-rw-r--r--src/resources/map/walklayer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/resources/map/walklayer.cpp b/src/resources/map/walklayer.cpp
index 7bc505f18..a52f75179 100644
--- a/src/resources/map/walklayer.cpp
+++ b/src/resources/map/walklayer.cpp
@@ -46,6 +46,6 @@ int WalkLayer::getDataAt(const int x, const int y) const
int WalkLayer::calcMemoryLocal() const
{
return Resource::calcMemoryLocal() +
- sizeof(WalkLayer) +
- sizeof(int) * mWidth * mHeight;
+ static_cast<int>(sizeof(WalkLayer) +
+ sizeof(int) * mWidth * mHeight);
}