diff --git a/src/hb-ot-cmap-table.hh b/src/hb-ot-cmap-table.hh index ce419cbed..cf5ccd53e 100644 --- a/src/hb-ot-cmap-table.hh +++ b/src/hb-ot-cmap-table.hh @@ -413,7 +413,7 @@ struct CmapSubtableFormat4 const HBUINT16 *found = hb_bsearch (codepoint, this->endCount, this->segCount, - 2, + sizeof (CustomRange), _hb_cmp_method, this->segCount + 1); if (unlikely (!found))