summaryrefslogtreecommitdiff
path: root/src/gui/sdlfont.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/sdlfont.cpp')
-rw-r--r--src/gui/sdlfont.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/sdlfont.cpp b/src/gui/sdlfont.cpp
index cc76790d1..8713367bc 100644
--- a/src/gui/sdlfont.cpp
+++ b/src/gui/sdlfont.cpp
@@ -186,7 +186,7 @@ void SDLFont::clear()
for (unsigned short f = 0; f < static_cast<unsigned short>(
CACHES_NUMBER); f ++)
{
- mCache[static_cast<unsigned short>(f)].clear();
+ mCache[f].clear();
}
}