summaryrefslogtreecommitdiff
path: root/src/gui/palette.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/palette.h
parent875ece90ff94c4cf295b53c8bb37d9238ece38e9 (diff)
downloadplus-2ed0917b4ee942ff55639500f846ae9cb4f48b90.tar.gz
plus-2ed0917b4ee942ff55639500f846ae9cb4f48b90.tar.bz2
plus-2ed0917b4ee942ff55639500f846ae9cb4f48b90.tar.xz
plus-2ed0917b4ee942ff55639500f846ae9cb4f48b90.zip
Fix some signed/unsigned chars issues.
Diffstat (limited to 'src/gui/palette.h')
-rw-r--r--src/gui/palette.h4
1 files changed, 2 insertions, 2 deletions
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;