diff options
Diffstat (limited to 'src/commands.cpp')
-rw-r--r-- | src/commands.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/commands.cpp b/src/commands.cpp index 7dbafd0f1..8ddd0f0bf 100644 --- a/src/commands.cpp +++ b/src/commands.cpp @@ -925,14 +925,14 @@ impHandler0(cacheInfo) if (!cache) return; - int all = 0; + unsigned int all = 0; debugChatTab->chatLog(_("font cache size")); std::string str; for (int f = 0; f < 256; f ++) { if (!cache[f].empty()) { - const int sz = static_cast<int>(cache[f].size()); + const unsigned int sz = static_cast<int>(cache[f].size()); all += sz; str.append(strprintf("%d: %u, ", f, sz)); } |