1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
|
From 04d61e92515f19cbd2dbb0cc06d4340ba4514a8a Mon Sep 17 00:00:00 2001
From: Rex Dieter <rdieter@math.unl.edu>
Date: Sat, 11 Jun 2016 09:49:41 -0500
Subject: [PATCH] fix arm FTBFS
---
libs/flake/KoSnapStrategy.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libs/flake/KoSnapStrategy.cpp b/libs/flake/KoSnapStrategy.cpp
index fd9de8e..e644e35 100644
--- a/libs/flake/KoSnapStrategy.cpp
+++ b/libs/flake/KoSnapStrategy.cpp
@@ -181,7 +181,7 @@ bool ExtensionSnapStrategy::snap(const QPointF &mousePosition, KoSnapProxy * pro
Q_ASSERT(isfinite(maxSnapDistance));
const qreal maxDistance = maxSnapDistance * maxSnapDistance;
- qreal minDistances[2] = { HUGE_VAL, HUGE_VAL };
+ qreal minDistances[2] = { (qreal)HUGE_VAL, (qreal)HUGE_VAL };
QPointF snappedPoints[2] = { mousePosition, mousePosition };
QPointF startPoints[2];
--
2.9.3
|