summaryrefslogtreecommitdiff
path: root/src/being/actorsprite.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/being/actorsprite.h')
-rw-r--r--src/being/actorsprite.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/being/actorsprite.h b/src/being/actorsprite.h
index 314fff9fb..2ca5065ef 100644
--- a/src/being/actorsprite.h
+++ b/src/being/actorsprite.h
@@ -225,8 +225,8 @@ class ActorSprite notfinal : public CompoundSprite, public Actor
/** Animated target cursors. */
static AnimatedSprite *targetCursor
- [static_cast<size_t>(TargetCursorType::NUM_TCT)]
- [static_cast<size_t>(TargetCursorSize::NUM_TC)];
+ [CAST_SIZE(TargetCursorType::NUM_TCT)]
+ [CAST_SIZE(TargetCursorSize::NUM_TC)];
static bool loaded;