summaryrefslogtreecommitdiff
path: root/src/gui/shortcut/itemshortcut.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-08-03 03:20:07 +0300
committerAndrei Karas <akaras@inbox.ru>2017-08-03 03:20:07 +0300
commit4546f29469d01fcbb5a030c4cf1746b786b495da (patch)
tree1c993be9c3c4cbde0c48fda8c2ee0d07a9863e3b /src/gui/shortcut/itemshortcut.cpp
parenta06b27bdd35ee48a1e26aa3be53af6d1063a5d4c (diff)
downloadmanaplus-4546f29469d01fcbb5a030c4cf1746b786b495da.tar.gz
manaplus-4546f29469d01fcbb5a030c4cf1746b786b495da.tar.bz2
manaplus-4546f29469d01fcbb5a030c4cf1746b786b495da.tar.xz
manaplus-4546f29469d01fcbb5a030c4cf1746b786b495da.zip
Fix signed / unsigned comparision issue in old gcc.
Diffstat (limited to 'src/gui/shortcut/itemshortcut.cpp')
-rw-r--r--src/gui/shortcut/itemshortcut.cpp6
1 files changed, 3 insertions, 3 deletions
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();
}