Index: obj_common.c =================================================================== --- obj_common.c (revision 31800) +++ obj_common.c (revision 31801) @@ -74,7 +74,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, rnd_rnd_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: @@ -91,13 +91,13 @@ case PCB_OBJ_POLY_POINT: case PCB_OBJ_LINE_POINT: case PCB_OBJ_GFX_POINT: - *res = *(rnd_rnd_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(RND_MSG_ERROR, "Request for bounding box of unsupported type %d\n", Type); - *res = *(rnd_rnd_box_t *)Ptr2; + *res = *(rnd_box_t *)Ptr2; return -1; } }