summaryrefslogtreecommitdiff
path: root/common/curve.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'common/curve.cpp')
-rwxr-xr-xcommon/curve.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/curve.cpp b/common/curve.cpp
index 18b5af8..243e43c 100755
--- a/common/curve.cpp
+++ b/common/curve.cpp
@@ -147,7 +147,7 @@ CurvePoint::~CurvePoint ()
void CurvePoint::MinIntersectDist (LC_CLICKLINE* pLine)
{
- double dist = BoundingBoxIntersectDist (pLine);
+ float dist = (float)BoundingBoxIntersectDist (pLine);
if (dist < pLine->mindist)
{