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:27:51 +0300
commitc3434fa53d1c83bc65b640951364f842fe6c79f4 (patch)
tree51aa552c585518d7b2e2d67eba7c9500065dae05 /src/gui/theme.h
parent185a53c504a0d53e54a7425ea829b5c951661ea8 (diff)
downloadmanaplus-c3434fa53d1c83bc65b640951364f842fe6c79f4.tar.gz
manaplus-c3434fa53d1c83bc65b640951364f842fe6c79f4.tar.bz2
manaplus-c3434fa53d1c83bc65b640951364f842fe6c79f4.tar.xz
manaplus-c3434fa53d1c83bc65b640951364f842fe6c79f4.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,