summaryrefslogtreecommitdiff
path: root/src/gui/gui.cpp
diff options
context:
space:
mode:
authorPhilipp Sehmisch <crush@themanaworld.org>2009-02-11 17:12:00 +0100
committerPhilipp Sehmisch <crush@themanaworld.org>2009-02-11 17:12:00 +0100
commit3db37c9e66aca4736ee84a561fa855bd404ad29b (patch)
tree7c59f733776490d7c983a15894acb7c17f736159 /src/gui/gui.cpp
parentf262dbd28f08001d70416e3cc4e62273d3fee2cd (diff)
downloadmana-client-3db37c9e66aca4736ee84a561fa855bd404ad29b.tar.gz
mana-client-3db37c9e66aca4736ee84a561fa855bd404ad29b.tar.bz2
mana-client-3db37c9e66aca4736ee84a561fa855bd404ad29b.tar.xz
mana-client-3db37c9e66aca4736ee84a561fa855bd404ad29b.zip
Shut up some compiler warnings.
Diffstat (limited to 'src/gui/gui.cpp')
-rw-r--r--src/gui/gui.cpp4
1 files changed, 2 insertions, 2 deletions
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)