--- gerbv-1.0.1/src/drill.c~ 2005-01-09 21:51:57.000000000 +0000 +++ gerbv-1.0.1/src/drill.c 2006-03-10 19:26:40.000000000 +0000 @@ -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;