summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;