summaryrefslogtreecommitdiff
path: root/src/resources/animation/animation.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/animation/animation.cpp')
-rw-r--r--src/resources/animation/animation.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/resources/animation/animation.cpp b/src/resources/animation/animation.cpp
index 9c3361db5..6eac889ed 100644
--- a/src/resources/animation/animation.cpp
+++ b/src/resources/animation/animation.cpp
@@ -101,8 +101,8 @@ int Animation::calcMemoryLocal() const
FOR_EACH (FramesCIter, it, mFrames)
{
const Frame &frame = *it;
- sz += sizeof(Frame) +
- frame.nextAction.capacity();
+ sz += static_cast<int>(sizeof(Frame) +
+ frame.nextAction.capacity());
}
return sz;
}