[thai] Use smaller type for arrays

No logic change.
This commit is contained in:
Behdad Esfahbod 2022-11-19 14:20:36 -07:00
parent 72c4e431af
commit f9d7b303ed
1 changed files with 3 additions and 3 deletions

View File

@ -98,9 +98,9 @@ static hb_codepoint_t
thai_pua_shape (hb_codepoint_t u, thai_action_t action, hb_font_t *font) thai_pua_shape (hb_codepoint_t u, thai_action_t action, hb_font_t *font)
{ {
struct thai_pua_mapping_t { struct thai_pua_mapping_t {
hb_codepoint_t u; uint16_t u;
hb_codepoint_t win_pua; uint16_t win_pua;
hb_codepoint_t mac_pua; uint16_t mac_pua;
} const *pua_mappings = nullptr; } const *pua_mappings = nullptr;
static const thai_pua_mapping_t SD_mappings[] = { static const thai_pua_mapping_t SD_mappings[] = {
{0x0E48u, 0xF70Au, 0xF88Bu}, /* MAI EK */ {0x0E48u, 0xF70Au, 0xF88Bu}, /* MAI EK */