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/gui/theme.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/gui/theme.h') 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, -- cgit v1.2.3-60-g2f50