From 7e0a97d2521b9ce57003176e82a0b5564aa003c2 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 17 Jul 2012 23:26:59 +0300 Subject: Fix more code style and additional warnings. --- src/dropshortcut.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/dropshortcut.h') 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; }; -- cgit v1.2.3-70-g09d2