From 867f68bd8a74634ac6220bd76c8bafe3e2226041 Mon Sep 17 00:00:00 2001 From: Michiharu Ariza Date: Wed, 15 Aug 2018 15:53:50 -0700 Subject: [PATCH] fix build attempt ^7 --- src/hb-subset-cff2.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/hb-subset-cff2.cc b/src/hb-subset-cff2.cc index bafd79d8..4f865d6c 100644 --- a/src/hb-subset-cff2.cc +++ b/src/hb-subset-cff2.cc @@ -312,7 +312,7 @@ static inline bool _write_cff2 (const cff2_subset_plan &plan, assert (cff2->topDict + plan.offsets.topDictSize == c.head - c.start); CFF2Subrs *dest = c.start_embed (); if (unlikely (dest == nullptr)) return false; - Index *super = dest; + CFF::Index *super = dest; if (unlikely (!super->serialize (&c, *acc.globalSubrs))) { DEBUG_MSG (SUBSET, nullptr, "failed to serialize CFF2 global subrs"); @@ -409,7 +409,7 @@ static inline bool _write_cff2 (const cff2_subset_plan &plan, DEBUG_MSG (SUBSET, nullptr, "CFF2 subset: local subrs unexpectedly null [%d]", i); return false; } - Index *super = subrs; + CFF::Index *super = subrs; if (unlikely (!super->serialize (&c, *acc.privateDicts[i].localSubrs))) { DEBUG_MSG (SUBSET, nullptr, "failed to serialize CFF2 local subrs [%d]", i); -- GitLab