From c3434fa53d1c83bc65b640951364f842fe6c79f4 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 16 Oct 2012 00:27:51 +0300 Subject: Fix some signed/unsigned chars issues. --- src/itemshortcut.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/itemshortcut.cpp') diff --git a/src/itemshortcut.cpp b/src/itemshortcut.cpp index 132fbc619..773df7e10 100644 --- a/src/itemshortcut.cpp +++ b/src/itemshortcut.cpp @@ -74,7 +74,7 @@ void ItemShortcut::load(const bool oldConfig) for (unsigned int i = 0; i < SHORTCUT_ITEMS; i++) { const int itemId = cfg->getValue(name + toString(i), -1); - const unsigned char itemColor = static_cast( + const unsigned char itemColor = static_cast( cfg->getValue(color + toString(i), 1)); mItems[i] = itemId; -- cgit v1.2.3-70-g09d2