summaryrefslogtreecommitdiff
path: root/src/commandhandler.cpp
diff options
context:
space:
mode:
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()));
}