[GSUB] Remove a reinterpret_cast

This commit is contained in:
Behdad Esfahbod 2022-07-17 12:00:04 -06:00
parent 9843f07658
commit af84680f23
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ struct SubstLookup : Lookup
{
unsigned int type = get_type ();
if (unlikely (type == SubTable::Extension))
return reinterpret_cast<const ExtensionSubst &> (get_subtable (0)).is_reverse ();
return get_subtable (0).u.extension.is_reverse ();
return lookup_type_is_reverse (type);
}