marble/marble-4.13.0-arm_qreal_double.patch

12 lines
518 B
Diff
Raw Permalink Normal View History

--- marble-4.13.0/tests/GeoUriParserTest.cpp.orig 2014-05-01 20:58:07.322703258 +0200
+++ marble-4.13.0/tests/GeoUriParserTest.cpp 2014-05-01 20:51:01.363102128 +0200
@@ -72,7 +72,7 @@
GeoDataCoordinates coords = parser.coordinates();
double cLat = 0.0, cLon = 0.0, cAlt = 0.0;
- coords.geoCoordinates(cLon, cLat, cAlt, GeoDataCoordinates::Degree);
+ coords.geoCoordinates((qreal&)cLon, (qreal&)cLat, (qreal&)cAlt, GeoDataCoordinates::Degree);
QCOMPARE(ret, valid);
if ( ret == valid ) {