Index: rats_mincut.c =================================================================== --- rats_mincut.c (revision 4769) +++ rats_mincut.c (revision 4770) @@ -97,7 +97,7 @@ } /* returns 0 on succes */ -static int proc_short(PinType * pin, PadType * pad, int ignore) +static int proc_short(PinType * pin, pcb_pad_t * pad, int ignore) { find_callback_t old_cb; Coord x, y; @@ -180,7 +180,7 @@ break; case PCB_TYPE_PAD: typ = "pad"; - parent = ((PadType *) (n->to))->Element; + parent = ((pcb_pad_t *) (n->to))->Element; break; case PCB_TYPE_LINE: typ = "line"; @@ -239,7 +239,7 @@ if (n->to_type == PCB_TYPE_PIN) spare = ((PinType *) n->to)->Spare; if (n->to_type == PCB_TYPE_PAD) - spare = ((PadType *) n->to)->Spare; + spare = ((pcb_pad_t *) n->to)->Spare; if (spare != NULL) { void *net = &(((LibraryMenuTypePtr) spare)->Name[2]); debprintf(" net=%s\n", net); @@ -339,7 +339,7 @@ struct pinpad_s { int ignore; /* if 1, changed our mind, do not check */ PinType *pin; - PadType *pad; + pcb_pad_t *pad; const char *with_net; /* the name of the net this pin/pad is in short with */ pinpad_t *next; }; @@ -346,7 +346,7 @@ static pinpad_t *shorts = NULL; -void rat_found_short(PinType * pin, PadType * pad, const char *with_net) +void rat_found_short(PinType * pin, pcb_pad_t * pad, const char *with_net) { pinpad_t *pp; pp = malloc(sizeof(pinpad_t)); Index: rats_mincut.h =================================================================== --- rats_mincut.h (revision 4769) +++ rats_mincut.h (revision 4770) @@ -23,5 +23,5 @@ * */ -void rat_found_short(PinType * pin, PadType * pad, const char *with_net); +void rat_found_short(PinType * pin, pcb_pad_t * pad, const char *with_net); void rat_proc_shorts(void);