Silence GCC warning for using both enum and unsigned in a ternary expr.