Index: show_netnames.c =================================================================== --- show_netnames.c (revision 33590) +++ show_netnames.c (revision 33591) @@ -92,7 +92,7 @@ switch(obj->type) { case PCB_OBJ_LINE: { - pcb_line_t *l = obj; + pcb_line_t *l = (pcb_line_t *)obj; rot = atan2(l->Point2.Y - l->Point1.Y, l->Point2.X - l->Point1.X) * -RND_RAD_TO_DEG;