[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: branches/KDE/4.3/kdeplasma-addons/applets/weather
From: Shawn Starr <shawn.starr () rogers ! com>
Date: 2009-07-10 20:07:36
Message-ID: 1247256456.154877.9867.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 994589 by spstarr:
backport from trunk fix for compiling
M +1 -1 weatherapplet.cpp
--- branches/KDE/4.3/kdeplasma-addons/applets/weather/weatherapplet.cpp #994588:994589
@@ -44,7 +44,7 @@
template <typename T> T clampValue(T value, int decimals)
{
- const T mul = std::pow(10, decimals); return int(value * mul) / mul;
+ const T mul = std::pow(static_cast<T>(10), decimals); return int(value * mul) / mul;
}
WeatherApplet::WeatherApplet(QObject *parent, const QVariantList &args)
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic