From 203e995140e710475e1d8a3b512c8fe16a1acd96 Mon Sep 17 00:00:00 2001 From: Philipp Sehmisch Date: Wed, 18 Mar 2009 18:54:10 +0100 Subject: Windows compilation fixes --- src/gui/setup_colors.cpp | 2 +- src/gui/truetypefont.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gui') 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(mGradTypeSlider->getValue()); + static_cast((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 #else -#include +#include #endif class TextChunk; -- cgit v1.2.3-70-g09d2