Index: obj_common.c =================================================================== --- obj_common.c (revision 30911) +++ obj_common.c (revision 30912) @@ -72,7 +72,7 @@ /* returns a pointer to an objects bounding box; * data is valid until the routine is called again */ -int pcb_obj_get_bbox_naked(int Type, void *Ptr1, void *Ptr2, void *Ptr3, pcb_box_t *res) +int pcb_obj_get_bbox_naked(int Type, void *Ptr1, void *Ptr2, void *Ptr3, rnd_box_t *res) { switch (Type) { case PCB_OBJ_LINE: @@ -88,13 +88,13 @@ return 0; case PCB_OBJ_POLY_POINT: case PCB_OBJ_LINE_POINT: - *res = *(pcb_box_t *)Ptr3; + *res = *(rnd_box_t *)Ptr3; return 0; case PCB_OBJ_ARC_POINT: return pcb_obj_ui_arc_point_bbox(Type, Ptr1, Ptr2, Ptr3, res); default: rnd_message(PCB_MSG_ERROR, "Request for bounding box of unsupported type %d\n", Type); - *res = *(pcb_box_t *)Ptr2; + *res = *(rnd_box_t *)Ptr2; return -1; } }