From 3db37c9e66aca4736ee84a561fa855bd404ad29b Mon Sep 17 00:00:00 2001 From: Philipp Sehmisch Date: Wed, 11 Feb 2009 17:12:00 +0100 Subject: Shut up some compiler warnings. --- src/gui/gui.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gui/gui.cpp') diff --git a/src/gui/gui.cpp b/src/gui/gui.cpp index 87304bd1..a7946993 100644 --- a/src/gui/gui.cpp +++ b/src/gui/gui.cpp @@ -110,7 +110,7 @@ Gui::Gui(Graphics *graphics): std::string path = resman->getPath("fonts/dejavusans.ttf"); try { - const int fontSize = config.getValue("fontSize", 11); + const int fontSize = (int)config.getValue("fontSize", 11); mGuiFont = new TrueTypeFont(path, fontSize); } catch (gcn::Exception e) @@ -123,7 +123,7 @@ Gui::Gui(Graphics *graphics): path = resman->getPath("fonts/dejavusans-bold.ttf"); try { - const int fontSize = config.getValue("fontSize", 11); + const int fontSize = (int)config.getValue("fontSize", 11); boldFont = new TrueTypeFont(path, fontSize); } catch (gcn::Exception e) -- cgit v1.2.3-70-g09d2