f5aa559
Index: zinnia-0.06/feature.cpp
f5aa559
===================================================================
f5aa559
--- zinnia-0.06.orig/feature.cpp
f5aa559
+++ zinnia-0.06/feature.cpp
f5aa559
@@ -42,7 +42,7 @@ float minimum_distance(const Node *first
f5aa559
 
f5aa559
   const float a = last->x - first->x;
f5aa559
   const float b = last->y - first->y;
f5aa559
-  const float c = last->y * first->x - last->x * first->y;
f5aa559
+  const float c = (double)last->y * first->x - (double)last->x * first->y;
f5aa559
 
f5aa559
   float max = -1.0;
f5aa559
   for (const Node *n = first; n != last; ++n) {