aboutsummaryrefslogtreecommitdiff
path: root/gui/theme.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'gui/theme.cpp')
-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());
}
}