From 3bf163c923526e545d9738d0047b5de352a85a7c 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 f8901119..4b5c375d 100644 --- a/src/gui/gui.cpp +++ b/src/gui/gui.cpp @@ -111,7 +111,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) @@ -124,7 +124,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