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/palette.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gui/palette.h') diff --git a/src/gui/palette.h b/src/gui/palette.h index 8fae00d6a..ed9b14e22 100644 --- a/src/gui/palette.h +++ b/src/gui/palette.h @@ -67,7 +67,7 @@ class Palette * * @return the requested color or Palette::BLACK */ - const gcn::Color &getColor(const char c, bool &valid); + const gcn::Color &getColor(const signed char c, bool &valid); /** * Gets the color associated with the type. Sets the alpha channel @@ -180,7 +180,7 @@ class Palette gcn::Color testColor; gcn::Color committedColor; std::string text; - char ch; + signed char ch; GradientType grad; GradientType committedGrad; int gradientIndex; -- cgit v1.2.3-60-g2f50