summaryrefslogtreecommitdiff
path: root/src/dropshortcut.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-07-17 23:26:59 +0300
committerAndrei Karas <akaras@inbox.ru>2012-07-17 23:26:59 +0300
commit7e0a97d2521b9ce57003176e82a0b5564aa003c2 (patch)
tree5b2cfe1afe09bea1063f783050c1fb549daee76d /src/dropshortcut.h
parentf68cbf700a99f2f184715a5b8025bcb4b6525391 (diff)
downloadmanaverse-7e0a97d2521b9ce57003176e82a0b5564aa003c2.tar.gz
manaverse-7e0a97d2521b9ce57003176e82a0b5564aa003c2.tar.bz2
manaverse-7e0a97d2521b9ce57003176e82a0b5564aa003c2.tar.xz
manaverse-7e0a97d2521b9ce57003176e82a0b5564aa003c2.zip
Fix more code style and additional warnings.
Diffstat (limited to 'src/dropshortcut.h')
-rw-r--r--src/dropshortcut.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/dropshortcut.h b/src/dropshortcut.h
index ea11f34e0..b9a8db7c7 100644
--- a/src/dropshortcut.h
+++ b/src/dropshortcut.h
@@ -61,7 +61,7 @@ class DropShortcut
int getItem(int index) const
{ return mItems[index]; }
- int getItemColor(int index) const
+ unsigned char getItemColor(int index) const
{ return mItemColors[index]; }
/**
@@ -151,9 +151,9 @@ class DropShortcut
bool dropItem(int cnt = 1);
int mItems[DROP_SHORTCUT_ITEMS];
- int mItemColors[DROP_SHORTCUT_ITEMS];
+ unsigned char mItemColors[DROP_SHORTCUT_ITEMS];
int mItemSelected;
- int mItemColorSelected;
+ unsigned char mItemColorSelected;
int mLastDropIndex;
};