From a4ecdcf3c84d61d2b97cb5b1318ea38913d001d8 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 8 Aug 2017 01:40:35 +0300 Subject: Fix compilation with old compilers. --- src/actions/commands.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/actions') 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; } -- cgit v1.2.3-60-g2f50