diff options
author | Philipp Sehmisch <crush@themanaworld.org> | 2009-03-18 18:54:10 +0100 |
---|---|---|
committer | Philipp Sehmisch <crush@themanaworld.org> | 2009-03-18 18:54:10 +0100 |
commit | 203e995140e710475e1d8a3b512c8fe16a1acd96 (patch) | |
tree | dbac8e4075f238f43655bfbd54f251caa2a77f8e /src/gui | |
parent | 1231406e5c9ac43d60c6ffb0ae664970b0e4eee0 (diff) | |
download | mana-203e995140e710475e1d8a3b512c8fe16a1acd96.tar.gz mana-203e995140e710475e1d8a3b512c8fe16a1acd96.tar.bz2 mana-203e995140e710475e1d8a3b512c8fe16a1acd96.tar.xz mana-203e995140e710475e1d8a3b512c8fe16a1acd96.zip |
Windows compilation fixes
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/setup_colors.cpp | 2 | ||||
-rw-r--r-- | src/gui/truetypefont.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/setup_colors.cpp b/src/gui/setup_colors.cpp index b786a7fa..dcad8670 100644 --- a/src/gui/setup_colors.cpp +++ b/src/gui/setup_colors.cpp @@ -369,7 +369,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) diff --git a/src/gui/truetypefont.h b/src/gui/truetypefont.h index 1cf6c2c8..9d6c4ef5 100644 --- a/src/gui/truetypefont.h +++ b/src/gui/truetypefont.h @@ -29,7 +29,7 @@ #ifdef __APPLE__ #include <SDL_ttf/SDL_ttf.h> #else -#include <SDL_ttf.h> +#include <SDL/SDL_ttf.h> #endif class TextChunk; |