aboutsummaryrefslogtreecommitdiff
path: root/gui
diff options
context:
space:
mode:
authorTorbjörn Andersson2008-10-18 13:06:27 +0000
committerTorbjörn Andersson2008-10-18 13:06:27 +0000
commit6e177e64df899c6c9d64ec99db5c476b8bd75d9c (patch)
tree7e16f1f2f22989ac6e45ee9b66a3cc4a1fff2fa0 /gui
parent3595d0c09bd016ab991d8de9642f423619d8c130 (diff)
downloadscummvm-rg350-6e177e64df899c6c9d64ec99db5c476b8bd75d9c.tar.gz
scummvm-rg350-6e177e64df899c6c9d64ec99db5c476b8bd75d9c.tar.bz2
scummvm-rg350-6e177e64df899c6c9d64ec99db5c476b8bd75d9c.zip
Fixed warning.
svn-id: r34822
Diffstat (limited to 'gui')
-rw-r--r--gui/theme.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/theme.cpp b/gui/theme.cpp
index 2d21339f4c..1c8798e472 100644
--- a/gui/theme.cpp
+++ b/gui/theme.cpp
@@ -92,7 +92,7 @@ const Graphics::Font *Theme::loadFont(const Common::String &filename) {
if (font) {
if (!cacheFilename.empty()) {
- if (!Graphics::NewFont::cacheFontData(*(Graphics::NewFont*)font, cacheFilename)) {
+ if (!Graphics::NewFont::cacheFontData(*(const Graphics::NewFont*)font, cacheFilename)) {
warning("Couldn't create cache file for font '%s'", filename.c_str());
}
}