--- src/drill.c.orig 2005-01-10 00:51:57 +0300 +++ src/drill.c 2006-05-29 02:29:11 +0400 @@ -217,8 +217,8 @@ /* KLUDGE. This function isn't allowed to return anything but inches */ if(state->unit == MM) { - (double)curr_net->start_x /= 25.4; - (double)curr_net->start_y /= 25.4; + curr_net->start_x /= 25.4; + curr_net->start_y /= 25.4; /* KLUDGE. All images, regardless of input format, are returned in INCH format */ curr_net->unit = INCH;