diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-03-29 01:36:33 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-03-29 01:36:33 +0300 |
commit | 50e6f52f9f326d09ee5a2d0f8e8c2235c5e9cd22 (patch) | |
tree | 621b805e2fa1f20ccbcbb98e652df784677e63c5 /src/commands.cpp | |
parent | ffcc519acbc3b4dc4e5d46bc2f70aa0dcf516131 (diff) | |
download | manaplus-50e6f52f9f326d09ee5a2d0f8e8c2235c5e9cd22.tar.gz manaplus-50e6f52f9f326d09ee5a2d0f8e8c2235c5e9cd22.tar.bz2 manaplus-50e6f52f9f326d09ee5a2d0f8e8c2235c5e9cd22.tar.xz manaplus-50e6f52f9f326d09ee5a2d0f8e8c2235c5e9cd22.zip |
fix some warnings.
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)); } |