Imported Upstream version 0.9.35
[platform/upstream/harfbuzz.git] / src / hb-ot-maxp-table.hh
index 0ce3ebc..b1f8328 100644 (file)
@@ -41,7 +41,7 @@ namespace OT {
 
 struct maxp
 {
-  static const hb_tag_t Tag    = HB_OT_TAG_maxp;
+  static const hb_tag_t tableTag       = HB_OT_TAG_maxp;
 
   inline unsigned int get_num_glyphs (void) const {
     return numGlyphs;
@@ -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);