From 2062b8eabd78a7d4fb719365eca898939baee4a9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20L=C3=BCbking?= Date: Mon, 16 Jan 2012 22:05:19 +0100 Subject: [PATCH] Nanny the Sun compiler by an explicit cast ;-) BUG: 291690 --- libkwineffects/kwinanimationeffect.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libkwineffects/kwinanimationeffect.cpp b/libkwineffects/kwinanimationeffect.cpp index 47b029dd41..00a7887b69 100644 --- a/libkwineffects/kwinanimationeffect.cpp +++ b/libkwineffects/kwinanimationeffect.cpp @@ -372,7 +372,7 @@ void AnimationEffect::paintWindow( EffectWindow* w, int mask, QRegion region, Wi if (tAnchor != sAnchor) { QPointF pt2(xCoord(geo, tAnchor), yCoord(geo, tAnchor)); - pt += prgrs*(pt2 - pt); + pt += static_cast(prgrs)*(pt2 - pt); } rot.xRotationPoint = pt.x();