From 2db636c65e3a75097982e8e22ff2e29b9b765370 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Thu, 6 Jun 2024 11:17:35 -0600 Subject: [PATCH] [VARC] Try fixing build failure on i386 --- src/OT/Var/VARC/VARC.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/OT/Var/VARC/VARC.cc b/src/OT/Var/VARC/VARC.cc index 217f30346..7af122da9 100644 --- a/src/OT/Var/VARC/VARC.cc +++ b/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; \