summaryrefslogtreecommitdiff
path: root/src/units.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-04-30 19:54:08 +0300
committerAndrei Karas <akaras@inbox.ru>2014-04-30 19:54:08 +0300
commitef7e7319305f040a47c483b71f2e78da7a1d6149 (patch)
tree14ac10427d7c94288fcb198db5277455754589ae /src/units.cpp
parent12389c8441c748996962412201af9e21d66f9e55 (diff)
downloadmv-ef7e7319305f040a47c483b71f2e78da7a1d6149.tar.gz
mv-ef7e7319305f040a47c483b71f2e78da7a1d6149.tar.bz2
mv-ef7e7319305f040a47c483b71f2e78da7a1d6149.tar.xz
mv-ef7e7319305f040a47c483b71f2e78da7a1d6149.zip
Fix code style in other files.
Diffstat (limited to 'src/units.cpp')
-rw-r--r--src/units.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/units.cpp b/src/units.cpp
index f095d7bbf..ec4084126 100644
--- a/src/units.cpp
+++ b/src/units.cpp
@@ -207,7 +207,7 @@ static std::string formatUnit(const int value, const int type)
else
{
double amount = ud.conversion * value;
- const unsigned int sz = ud.levels.size();
+ const unsigned int sz = static_cast<unsigned int>(ud.levels.size());
// If only the first level is needed, act like mix if false
if (ud.mix && !ud.levels.empty() && ud.levels[1].count < amount)