summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-08-08 01:40:35 +0300
committerAndrei Karas <akaras@inbox.ru>2017-08-08 01:40:35 +0300
commita4ecdcf3c84d61d2b97cb5b1318ea38913d001d8 (patch)
tree453e4107622e9d43912d37297ed0acea591545aa
parent553abfdfa9e00e78cf4da893acb97062b47b9e24 (diff)
downloadplus-a4ecdcf3c84d61d2b97cb5b1318ea38913d001d8.tar.gz
plus-a4ecdcf3c84d61d2b97cb5b1318ea38913d001d8.tar.bz2
plus-a4ecdcf3c84d61d2b97cb5b1318ea38913d001d8.tar.xz
plus-a4ecdcf3c84d61d2b97cb5b1318ea38913d001d8.zip
Fix compilation with old compilers.
-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;
}