commit | 03e144135b5c691e3942d1aef917fe2246665fb6 | [log] [tgz] |
---|---|---|
author | Ebrahim Byagowi <ebrahim@gnu.org> | Thu Oct 18 11:06:37 2018 +0330 |
committer | GitHub <noreply@github.com> | Thu Oct 18 11:06:37 2018 +0330 |
tree | 22433972835770d85116474b7276721e8e05ce3b | |
parent | 64df6b0b0f9d221e14811084f2412a01cf4deb46 [diff] |
[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.