aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--generic/Geo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/Geo.c b/generic/Geo.c
index 7af09d8..2c84f08 100644
--- a/generic/Geo.c
+++ b/generic/Geo.c
@@ -1437,7 +1437,7 @@ LineToPointDist(ZnPoint *p1,
ZnPoint *p)
{
double x, y;
- int x_int, y_int;
+ double x_int, y_int;
/*
* First compute the closest point on the line. This is done