[uniscribe] Fix build

This commit is contained in:
Behdad Esfahbod 2018-11-29 16:03:15 -05:00
parent bf738ba3ba
commit e2af4dd1ec
1 changed files with 1 additions and 1 deletions

View File

@ -695,7 +695,7 @@ _hb_uniscribe_shape (hb_shape_plan_t *shape_plan,
{
active_feature_t *feature = active_features.find (&event->feature);
if (feature)
active_features.remove (feature - active_features);
active_features.remove (feature - (active_feature_t *) active_features);
}
}