aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--generic/Geo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/Geo.c b/generic/Geo.c
index 2c84f08..7efab22 100644
--- a/generic/Geo.c
+++ b/generic/Geo.c
@@ -614,7 +614,7 @@ ShiftLine(ZnPoint *p1,
*/
if (shift_table[0] == 0) {
int i;
- double tangent, cosine;
+ ZnReal tangent, cosine;
for (i = 0; i <= 128; i++) {
tangent = i/128.0;
@@ -678,7 +678,7 @@ IntersectLines(ZnPoint *a1,
ZnPoint *b2,
ZnPoint *pi)
{
- int dxadyb, dxbdya, dxadxb, dyadyb, p, q;
+ ZnReal dxadyb, dxbdya, dxadxb, dyadyb, p, q;
dxadyb = (a2->x - a1->x)*(b2->y - b1->y);
dxbdya = (b2->x - b1->x)*(a2->y - a1->y);