diff --git a/src/hb-ot-cff-common.hh b/src/hb-ot-cff-common.hh index c52561d55..a6c4ece52 100644 --- a/src/hb-ot-cff-common.hh +++ b/src/hb-ot-cff-common.hh @@ -83,7 +83,7 @@ struct CFFIndex for (const auto &_ : +it) { auto it = hb_iter (_); - if (it.length == 1) + if (hb_len (it) == 1) { char *ret = c->allocate_size (1, false); if (unlikely (!ret)) return_trace (false);