diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-05-31 17:01:38 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-05-31 17:01:38 +0300 |
commit | 5a60cfd0ef0c2f8b78397d05a50ab9b939309ea5 (patch) | |
tree | aeafccf4632262393b23e52afc9facc5ec9f1b3f /src/gui/palette.h | |
parent | 84f2cad3897d0dacb60cfef4e1860ffb8ec268e1 (diff) | |
download | manaplus-5a60cfd0ef0c2f8b78397d05a50ab9b939309ea5.tar.gz manaplus-5a60cfd0ef0c2f8b78397d05a50ab9b939309ea5.tar.bz2 manaplus-5a60cfd0ef0c2f8b78397d05a50ab9b939309ea5.tar.xz manaplus-5a60cfd0ef0c2f8b78397d05a50ab9b939309ea5.zip |
Fix sign on some vars.
Diffstat (limited to 'src/gui/palette.h')
-rw-r--r-- | src/gui/palette.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/palette.h b/src/gui/palette.h index de733f838..bd974a94b 100644 --- a/src/gui/palette.h +++ b/src/gui/palette.h @@ -204,7 +204,7 @@ class Palette gradientIndex = rand(); } - inline int getRGB() const A_WARN_UNUSED + inline unsigned int getRGB() const A_WARN_UNUSED { return (committedColor.r << 16) | (committedColor.g << 8) | committedColor.b; |