summaryrefslogtreecommitdiff
path: root/src/gui/theme.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-10-16 00:27:51 +0300
committerAndrei Karas <akaras@inbox.ru>2012-10-16 00:32:49 +0300
commit2ed0917b4ee942ff55639500f846ae9cb4f48b90 (patch)
tree431158e61d703a747115088e1b084651c923e0dd /src/gui/theme.h
parent875ece90ff94c4cf295b53c8bb37d9238ece38e9 (diff)
downloadmanaplus-2ed0917b4ee942ff55639500f846ae9cb4f48b90.tar.gz
manaplus-2ed0917b4ee942ff55639500f846ae9cb4f48b90.tar.bz2
manaplus-2ed0917b4ee942ff55639500f846ae9cb4f48b90.tar.xz
manaplus-2ed0917b4ee942ff55639500f846ae9cb4f48b90.zip
Fix some signed/unsigned chars issues.
Diffstat (limited to 'src/gui/theme.h')
-rw-r--r--src/gui/theme.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/theme.h b/src/gui/theme.h
index 651bcb9bc..92ff6073b 100644
--- a/src/gui/theme.h
+++ b/src/gui/theme.h
@@ -284,7 +284,8 @@ class Theme final : public Palette, public ConfigListener
const int alpha = 255)
{ return mInstance->getColor(type, alpha); }
- static const gcn::Color &getThemeColor(const char c, bool &valid)
+ static const gcn::Color &getThemeColor(const signed char c,
+ bool &valid)
{ return mInstance->getColor(c, valid); }
static gcn::Color getProgressColor(const int type,