diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-05-08 22:48:11 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-05-08 22:48:11 +0300 |
commit | 767b8400fb086616616a298655f0bc2eaf239256 (patch) | |
tree | 9d82215887c79c596127506f50daf2ed31c23d8c /src/units.cpp | |
parent | cd0de3bd2668294ab3174d3b5f032fefc25fa0e8 (diff) | |
download | plus-767b8400fb086616616a298655f0bc2eaf239256.tar.gz plus-767b8400fb086616616a298655f0bc2eaf239256.tar.bz2 plus-767b8400fb086616616a298655f0bc2eaf239256.tar.xz plus-767b8400fb086616616a298655f0bc2eaf239256.zip |
Fix code style in other files.
Diffstat (limited to 'src/units.cpp')
-rw-r--r-- | src/units.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/units.cpp b/src/units.cpp index ec4084126..63db99273 100644 --- a/src/units.cpp +++ b/src/units.cpp @@ -221,7 +221,7 @@ static std::string formatUnit(const int value, const int type) if (ul.count) levelAmount /= ul.count; - amount -= levelAmount * ul.count; + amount -= static_cast<double>(levelAmount * ul.count); if (amount > 0) { |