mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-20 22:41:10 +01:00
Try to fix warning on 32bit system
Hopefully fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=69281
This commit is contained in:
1 parent
9456f6bdfa
commit
42bf7ce7c9
1 file changed
+1
-1
@@ -152,7 +152,7 @@ VarComponent::get_path_at (hb_font_t *font,
|
||||
hb_barrier (); \
|
||||
auto &varint = * (const HBUINT32VAR *) record; \
|
||||
unsigned size = varint.get_size (); \
|
||||
if (unlikely (end - record < size)) return hb_ubytes_t (); \
|
||||
if (unlikely (unsigned (end - record) < size)) return hb_ubytes_t (); \
|
||||
name = (uint32_t) varint; \
|
||||
record += size; \
|
||||
} HB_STMT_END
|
||||
|
||||
Reference in new issue
Block a user