summaryrefslogtreecommitdiff
path: root/src/guichan/color.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/guichan/color.cpp')
-rw-r--r--src/guichan/color.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/guichan/color.cpp b/src/guichan/color.cpp
index f58e7b58e..7cc3b887a 100644
--- a/src/guichan/color.cpp
+++ b/src/guichan/color.cpp
@@ -60,7 +60,7 @@ namespace gcn
{
}
- Color::Color(int color) :
+ Color::Color(const int color) :
r((color >> 16) & 0xFF),
g((color >> 8) & 0xFF),
b(color & 0xFF),
@@ -68,7 +68,7 @@ namespace gcn
{
}
- Color::Color(int ar, int ag, int ab, int aa) :
+ Color::Color(const int ar, const int ag, const int ab, const int aa) :
r(ar),
g(ag),
b(ab),
@@ -104,7 +104,7 @@ namespace gcn
return result;
}
- Color Color::operator*(float value) const
+ Color Color::operator*(const float value) const
{
Color result(static_cast<int>(r * value),
static_cast<int>(g * value),