summaryrefslogtreecommitdiff
path: root/src/resources/atlas/atlasitem.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/atlas/atlasitem.h')
-rw-r--r--src/resources/atlas/atlasitem.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/resources/atlas/atlasitem.h b/src/resources/atlas/atlasitem.h
index 835d7faa8..039000393 100644
--- a/src/resources/atlas/atlasitem.h
+++ b/src/resources/atlas/atlasitem.h
@@ -45,8 +45,8 @@ struct AtlasItem final : public MemoryCounter
int calcMemoryLocal() const override final
{
- return sizeof(AtlasItem) +
- name.capacity();
+ return static_cast<int>(sizeof(AtlasItem) +
+ name.capacity());
// +++ here need print, but not add to sum size of image
}