From 4546f29469d01fcbb5a030c4cf1746b786b495da Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 3 Aug 2017 03:20:07 +0300 Subject: Fix signed / unsigned comparision issue in old gcc. --- src/gui/shortcut/itemshortcut.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/gui/shortcut/itemshortcut.cpp') diff --git a/src/gui/shortcut/itemshortcut.cpp b/src/gui/shortcut/itemshortcut.cpp index d4e96a3e2..f3457547b 100644 --- a/src/gui/shortcut/itemshortcut.cpp +++ b/src/gui/shortcut/itemshortcut.cpp @@ -41,13 +41,13 @@ ItemShortcut *itemShortcut[SHORTCUT_TABS]; -ItemShortcut::ItemShortcut(const int number) : +ItemShortcut::ItemShortcut(const size_t number) : mItems(), mItemColors(), mItemData(), + mNumber(number), mItemSelected(-1), - mItemColorSelected(ItemColor_one), - mNumber(number) + mItemColorSelected(ItemColor_one) { load(); } -- cgit v1.2.3-70-g09d2