summaryrefslogtreecommitdiff
path: root/src/commandhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-07-18 01:51:36 +0300
committerAndrei Karas <akaras@inbox.ru>2012-07-18 01:51:36 +0300
commitf0e95132f27ceb901fbd779fafc798a1f67a06a6 (patch)
tree52ee9ab21f4e01c2c8ae70b86841b0138349645d /src/commandhandler.cpp
parent7e0a97d2521b9ce57003176e82a0b5564aa003c2 (diff)
downloadplus-f0e95132f27ceb901fbd779fafc798a1f67a06a6.tar.gz
plus-f0e95132f27ceb901fbd779fafc798a1f67a06a6.tar.bz2
plus-f0e95132f27ceb901fbd779fafc798a1f67a06a6.tar.xz
plus-f0e95132f27ceb901fbd779fafc798a1f67a06a6.zip
Another warning fixes.
Diffstat (limited to 'src/commandhandler.cpp')
-rw-r--r--src/commandhandler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commandhandler.cpp b/src/commandhandler.cpp
index 8ed68ae20..75f4a5331 100644
--- a/src/commandhandler.cpp
+++ b/src/commandhandler.cpp
@@ -1074,7 +1074,7 @@ void CommandHandler::handleCacheInfo(const std::string &args A_UNUSED,
{
if (!cache[f].empty())
{
- all += cache[f].size();
+ all += static_cast<int>(cache[f].size());
str += strprintf("%d: %u, ", f,
static_cast<unsigned int>(cache[f].size()));
}