From 9a2e1fb3bae34cf88e01c1bcf40e9da856d48c0f Mon Sep 17 00:00:00 2001 From: vshcherb Date: Tue, 30 Jul 2013 11:08:15 +0200 Subject: [PATCH] Update Location.java --- OsmAnd-java/src/net/osmand/Location.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OsmAnd-java/src/net/osmand/Location.java b/OsmAnd-java/src/net/osmand/Location.java index 0845ad4430..6d4c2bfe72 100644 --- a/OsmAnd-java/src/net/osmand/Location.java +++ b/OsmAnd-java/src/net/osmand/Location.java @@ -210,7 +210,7 @@ public class Location { } } // TODO leave only for 4.2.1 !!! - results[0] = (net.osmand.util.MapUtils.getDistance(lat1, lon1, lat2, lon2)); + results[0] = (float) (net.osmand.util.MapUtils.getDistance(lat1, lon1, lat2, lon2)); } /**