Index: autoplace.c =================================================================== --- autoplace.c (revision 23137) +++ autoplace.c (revision 23138) @@ -355,7 +355,7 @@ * all-SMD nets by making the rectangle a cube and weighting * the "layer height" of the net. */ for (i = 0; i < Nets->NetN; i++) { - pcb_net_t *n = &Nets->Net[i]; + pcb_oldnet_t *n = &Nets->Net[i]; if (n->ConnectionN < 2) continue; /* no cost to go nowhere */ minx = maxx = n->Connection[0].X;