diff options
Diffstat (limited to 'src/resources/imageset.cpp')
-rw-r--r-- | src/resources/imageset.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/resources/imageset.cpp b/src/resources/imageset.cpp index e20ad4eb4..e74ca3c07 100644 --- a/src/resources/imageset.cpp +++ b/src/resources/imageset.cpp @@ -78,7 +78,7 @@ Image* ImageSet::get(const size_type i) const int ImageSet::calcMemoryLocal() const { - return sizeof(ImageSet) + + return static_cast<int>(sizeof(ImageSet)) + Resource::calcMemoryLocal() + - mImages.capacity() * sizeof(Image); + static_cast<int>(mImages.capacity() * sizeof(Image)); } |