Index: toolpath.c =================================================================== --- toolpath.c (revision 28650) +++ toolpath.c (revision 28651) @@ -299,7 +299,7 @@ /* for positive polarity, simply swap the two polygons to invert the scene */ if (polarity > 0) { - pcb_polyarea_t *tmp = result->remain; + pcb_poly_t *tmp = result->remain; result->remain = result->fill; result->fill = tmp; }