summaryrefslogtreecommitdiff
path: root/src/gui/palette.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-05-31 17:01:38 +0300
committerAndrei Karas <akaras@inbox.ru>2014-05-31 17:01:38 +0300
commit5a60cfd0ef0c2f8b78397d05a50ab9b939309ea5 (patch)
treeaeafccf4632262393b23e52afc9facc5ec9f1b3f /src/gui/palette.h
parent84f2cad3897d0dacb60cfef4e1860ffb8ec268e1 (diff)
downloadManaVerse-5a60cfd0ef0c2f8b78397d05a50ab9b939309ea5.tar.gz
ManaVerse-5a60cfd0ef0c2f8b78397d05a50ab9b939309ea5.tar.bz2
ManaVerse-5a60cfd0ef0c2f8b78397d05a50ab9b939309ea5.tar.xz
ManaVerse-5a60cfd0ef0c2f8b78397d05a50ab9b939309ea5.zip
Fix sign on some vars.
Diffstat (limited to 'src/gui/palette.h')
-rw-r--r--src/gui/palette.h2
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;