From 767b8400fb086616616a298655f0bc2eaf239256 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 8 May 2014 22:48:11 +0300 Subject: Fix code style in other files. --- src/units.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/units.cpp') 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(levelAmount * ul.count); if (amount > 0) { -- cgit v1.2.3-60-g2f50