Index: write.c =================================================================== --- write.c (revision 12227) +++ write.c (revision 12228) @@ -1214,7 +1214,7 @@ { int i, j; gdl_iterator_t it; - pcb_polygon_t *polygon; + pcb_poly_t *polygon; pcb_cardinal_t currentLayer = number; /* write information about non empty layers */