summaryrefslogtreecommitdiff
path: root/src/input/inputmanager.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/input/inputmanager.h')
-rw-r--r--src/input/inputmanager.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/input/inputmanager.h b/src/input/inputmanager.h
index 306de4df6..8b2d3ae84 100644
--- a/src/input/inputmanager.h
+++ b/src/input/inputmanager.h
@@ -170,7 +170,7 @@ class InputManager final
StringInpActionMap mNameMap;
StringIntMap mChatMap;
- InputFunction mKey[static_cast<size_t>(InputAction::TOTAL)];
+ InputFunction mKey[CAST_SIZE(InputAction::TOTAL)];
};
extern InputManager inputManager;