Index: third_party/harfbuzz-ng/src/hb-ot-maxp-table.hh |
diff --git a/third_party/harfbuzz-ng/src/hb-ot-maxp-table.hh b/third_party/harfbuzz-ng/src/hb-ot-maxp-table.hh |
index e6d255579c6b6d240cea50f5b90d69ad999ba32d..b1f832852d3856cab86ea1c02da57b666fdee34a 100644 |
--- a/third_party/harfbuzz-ng/src/hb-ot-maxp-table.hh |
+++ b/third_party/harfbuzz-ng/src/hb-ot-maxp-table.hh |
@@ -50,13 +50,13 @@ struct maxp |
inline bool sanitize (hb_sanitize_context_t *c) { |
TRACE_SANITIZE (this); |
return TRACE_RETURN (c->check_struct (this) && |
- likely (version.major == 1 || (version.major == 0 && version.minor == 0x5000))); |
+ likely (version.major == 1 || (version.major == 0 && version.minor == 0x5000u))); |
} |
/* We only implement version 0.5 as none of the extra fields in version 1.0 are useful. */ |
protected: |
FixedVersion version; /* Version of the maxp table (0.5 or 1.0), |
- * 0x00005000 or 0x00010000. */ |
+ * 0x00005000u or 0x00010000u. */ |
USHORT numGlyphs; /* The number of glyphs in the font. */ |
public: |
DEFINE_SIZE_STATIC (6); |