summaryrefslogtreecommitdiff
path: root/src/actions/commands.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/actions/commands.cpp')
-rw-r--r--src/actions/commands.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/actions/commands.cpp b/src/actions/commands.cpp
index 235afecb5..c74edbe43 100644
--- a/src/actions/commands.cpp
+++ b/src/actions/commands.cpp
@@ -2113,7 +2113,7 @@ impHandler(addSkillShortcut)
const int num = itemShortcutWindow->getTabIndex();
if (num < 0 ||
num >= CAST_S32(SHORTCUT_TABS) ||
- num == SHORTCUT_AUTO_TAB)
+ num == CAST_S32(SHORTCUT_AUTO_TAB))
{
return false;
}