[ubsan] Use unsigned int instead enum where needed (#1270)
Actually the check is right, On -myanmar.hh, on that particular switch, OT_C is indic_category_t but OT_D is myanmar_category_t so we are mixing the types in one variable. And on -arabic.cc, step can goes one number higher than step_t enum in the loop so we are actually using it as an unsinged int.
Showing
想要评论请 注册 或 登录