diff --git a/src/hb-shape-plan.cc b/src/hb-shape-plan.cc index 0d51165ff..4bd50abd0 100644 --- a/src/hb-shape-plan.cc +++ b/src/hb-shape-plan.cc @@ -58,7 +58,7 @@ hb_shape_plan_choose_shaper (hb_shape_plan_t *shape_plan, num_coords, shaper_list); - const hb_shaper_pair_t *shapers = _hb_shapers_get (); + const hb_shaper_pair_static_t *shapers = _hb_shapers_get (); #define HB_SHAPER_PLAN(shaper) \ HB_STMT_START { \ diff --git a/src/hb-shape.cc b/src/hb-shape.cc index f98bc6e51..325be0f12 100644 --- a/src/hb-shape.cc +++ b/src/hb-shape.cc @@ -63,7 +63,7 @@ static struct hb_shaper_list_lazy_loader_t : hb_lazy_loader_t { - static inline hb_shaper_pair_t *create (void) + static inline hb_shaper_pair_static_t *create (void) { char *env = getenv ("HB_SHAPER_LIST"); if (!env || !*env) return nullptr; - hb_shaper_pair_t *shapers = (hb_shaper_pair_t *) calloc (1, sizeof (all_shapers)); + hb_shaper_pair_static_t *shapers = (hb_shaper_pair_static_t *) calloc (1, sizeof (all_shapers)); if (unlikely (!shapers)) return nullptr; @@ -68,7 +68,7 @@ static struct hb_shapers_lazy_loader_t : hb_lazy_loader_t