[VARC] Try fixing build failure on i386

pull/4748/head
Behdad Esfahbod 9 months ago
parent 1e2bd4983e
commit 2db636c65e
  1. 2
      src/OT/Var/VARC/VARC.cc

@ -247,7 +247,7 @@ VarComponent::get_path_at (hb_font_t *font,
if (flags & (unsigned) flags_t::flag) \
{ \
static_assert (type::static_size == HBINT16::static_size, ""); \
if (unlikely (end - record < HBINT16::static_size)) \
if (unlikely (unsigned (end - record) < HBINT16::static_size)) \
return hb_ubytes_t (); \
hb_barrier (); \
transform.name = * (const HBINT16 *) record; \

Loading…
Cancel
Save