summaryrefslogtreecommitdiff
path: root/src/gui/font.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/font.cpp')
-rw-r--r--src/gui/font.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/font.cpp b/src/gui/font.cpp
index b5bb46eb0..9eef7fbcd 100644
--- a/src/gui/font.cpp
+++ b/src/gui/font.cpp
@@ -602,7 +602,7 @@ void Font::doClean()
for (unsigned int f = 0; f < CACHES_NUMBER; f ++)
{
TextChunkList *const cache = &mCache[f];
- const size_t size = cache->size;
+ const size_t size = static_cast<size_t>(cache->size);
#ifdef DEBUG_FONT_COUNTERS
logger->log("ptr: %d, size: %d", f, size);
#endif