diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-08-08 01:40:35 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-08-08 01:40:35 +0300 |
commit | a4ecdcf3c84d61d2b97cb5b1318ea38913d001d8 (patch) | |
tree | 453e4107622e9d43912d37297ed0acea591545aa /src | |
parent | 553abfdfa9e00e78cf4da893acb97062b47b9e24 (diff) | |
download | manaplus-a4ecdcf3c84d61d2b97cb5b1318ea38913d001d8.tar.gz manaplus-a4ecdcf3c84d61d2b97cb5b1318ea38913d001d8.tar.bz2 manaplus-a4ecdcf3c84d61d2b97cb5b1318ea38913d001d8.tar.xz manaplus-a4ecdcf3c84d61d2b97cb5b1318ea38913d001d8.zip |
Fix compilation with old compilers.
Diffstat (limited to 'src')
-rw-r--r-- | src/actions/commands.cpp | 2 |
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; } |