diff options
author | Philipp Sehmisch <crush@themanaworld.org> | 2009-02-11 17:12:00 +0100 |
---|---|---|
committer | Philipp Sehmisch <crush@themanaworld.org> | 2009-02-11 17:12:00 +0100 |
commit | 3db37c9e66aca4736ee84a561fa855bd404ad29b (patch) | |
tree | 7c59f733776490d7c983a15894acb7c17f736159 /src/gui/gui.cpp | |
parent | f262dbd28f08001d70416e3cc4e62273d3fee2cd (diff) | |
download | mana-3db37c9e66aca4736ee84a561fa855bd404ad29b.tar.gz mana-3db37c9e66aca4736ee84a561fa855bd404ad29b.tar.bz2 mana-3db37c9e66aca4736ee84a561fa855bd404ad29b.tar.xz mana-3db37c9e66aca4736ee84a561fa855bd404ad29b.zip |
Shut up some compiler warnings.
Diffstat (limited to 'src/gui/gui.cpp')
-rw-r--r-- | src/gui/gui.cpp | 4 |
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) |