summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorPhilipp Sehmisch <crush@themanaworld.org>2009-03-18 18:54:10 +0100
committerPhilipp Sehmisch <crush@themanaworld.org>2009-03-18 18:54:10 +0100
commit203e995140e710475e1d8a3b512c8fe16a1acd96 (patch)
treedbac8e4075f238f43655bfbd54f251caa2a77f8e /src/gui
parent1231406e5c9ac43d60c6ffb0ae664970b0e4eee0 (diff)
downloadmana-client-203e995140e710475e1d8a3b512c8fe16a1acd96.tar.gz
mana-client-203e995140e710475e1d8a3b512c8fe16a1acd96.tar.bz2
mana-client-203e995140e710475e1d8a3b512c8fe16a1acd96.tar.xz
mana-client-203e995140e710475e1d8a3b512c8fe16a1acd96.zip
Windows compilation fixes
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/setup_colors.cpp2
-rw-r--r--src/gui/truetypefont.h2
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;