summaryrefslogtreecommitdiff
path: root/src/commands.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-03-29 01:36:33 +0300
committerAndrei Karas <akaras@inbox.ru>2013-03-29 01:36:33 +0300
commit50e6f52f9f326d09ee5a2d0f8e8c2235c5e9cd22 (patch)
tree621b805e2fa1f20ccbcbb98e652df784677e63c5 /src/commands.cpp
parentffcc519acbc3b4dc4e5d46bc2f70aa0dcf516131 (diff)
downloadmv-50e6f52f9f326d09ee5a2d0f8e8c2235c5e9cd22.tar.gz
mv-50e6f52f9f326d09ee5a2d0f8e8c2235c5e9cd22.tar.bz2
mv-50e6f52f9f326d09ee5a2d0f8e8c2235c5e9cd22.tar.xz
mv-50e6f52f9f326d09ee5a2d0f8e8c2235c5e9cd22.zip
fix some warnings.
Diffstat (limited to 'src/commands.cpp')
-rw-r--r--src/commands.cpp4
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));
}