diff options
author | Philipp Sehmisch <crush@themanaworld.org> | 2009-03-29 18:31:29 +0200 |
---|---|---|
committer | Philipp Sehmisch <crush@themanaworld.org> | 2009-03-29 18:33:19 +0200 |
commit | 63b41440a0555c6b39141eab94ef4627f712b476 (patch) | |
tree | 471607655baec437ba4d81fb1adc9ce66a5625af /src/gui/setup_colors.cpp | |
parent | 795cec6e276e7f5df8a25bd8306e6fd87c826502 (diff) | |
download | mana-63b41440a0555c6b39141eab94ef4627f712b476.tar.gz mana-63b41440a0555c6b39141eab94ef4627f712b476.tar.bz2 mana-63b41440a0555c6b39141eab94ef4627f712b476.tar.xz mana-63b41440a0555c6b39141eab94ef4627f712b476.zip |
Fixed compilation on Windows
Diffstat (limited to 'src/gui/setup_colors.cpp')
-rw-r--r-- | src/gui/setup_colors.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/setup_colors.cpp b/src/gui/setup_colors.cpp index 073bbc1a..caa53e2d 100644 --- a/src/gui/setup_colors.cpp +++ b/src/gui/setup_colors.cpp @@ -401,7 +401,7 @@ void Setup_Colors::updateColor() Palette::ColorType type = guiPalette->getColorTypeAt(mSelected); Palette::GradientType grad = - static_cast<Palette::GradientType>(mGradTypeSlider->getValue()); + static_cast<Palette::GradientType>((int)mGradTypeSlider->getValue()); guiPalette->setGradient(type, grad); if (grad == Palette::STATIC) |