Index: rats_mincut.c =================================================================== --- rats_mincut.c (revision 14944) +++ rats_mincut.c (revision 14945) @@ -152,7 +152,7 @@ char *s; const char *typ; pcb_subc_t *parent; - pcb_any_obj_t *o = (pcb_any_obj_t *)n; + pcb_any_obj_t *o = (pcb_any_obj_t *)n->to; n->gid = gids; debprintf(" {%d} found %d %d/%p type %d from %d\n", n->gid, n->to_type, n->to->ID, (void *)n->to, n->type, n->from_id);