EE was operating a CASE 1845C. A weld on the skid-steer lift pin failed and broke. The lift arm moved from normal position and contacted the machine cab and caused the cab to shift to the right side. The lower portion of the cab came in contact with EE's boot and pinned it between the foot-rest and the cab. First aid was given by applying an ice pack.