Another currently unreachable issue. The enum o_type was casted to an int and this int has been validated to be an index. Therefore use the int, not the enum as index. Defensive measure for a probably never occurring future in which the enum would contain values larger than INT_MAX.pull/661/head