mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-21 15:01:01 +01:00
Fix a few other pedantic warnings
This commit is contained in:
1 parent
864e2560b6
commit
8f034d5849
4 files changed
+5
-5
No files matched your search
@@ -246,7 +246,7 @@ struct LookupFlag : USHORT
|
||||
IgnoreMarks = 0x0008u,
|
||||
UseMarkFilteringSet = 0x0010u,
|
||||
Reserved = 0x00E0u,
|
||||
MarkAttachmentType = 0xFF00u,
|
||||
MarkAttachmentType = 0xFF00u
|
||||
};
|
||||
};
|
||||
ASSERT_SIZE (LookupFlag, 2);
|
||||
|
||||
@@ -305,7 +305,7 @@ struct GDEF
|
||||
BaseGlyph = 1,
|
||||
LigatureGlyph = 2,
|
||||
MarkGlyph = 3,
|
||||
ComponentGlyph = 4,
|
||||
ComponentGlyph = 4
|
||||
};
|
||||
|
||||
STATIC_DEFINE_GET_FOR_DATA_CHECK_MAJOR_VERSION (GDEF, 1, 1);
|
||||
|
||||
@@ -49,7 +49,7 @@ struct ValueFormat : USHORT
|
||||
xAdvDevice = 0x0040, /* Includes horizontal Device table for advance */
|
||||
yAdvDevice = 0x0080, /* Includes vertical Device table for advance */
|
||||
ignored = 0x0F00, /* Was used in TrueType Open for MM fonts */
|
||||
reserved = 0xF000, /* For future use */
|
||||
reserved = 0xF000 /* For future use */
|
||||
};
|
||||
|
||||
inline unsigned int get_len () const
|
||||
@@ -1299,7 +1299,7 @@ struct PosLookupSubTable
|
||||
MarkMark = 6,
|
||||
Context = 7,
|
||||
ChainContext = 8,
|
||||
Extension = 9,
|
||||
Extension = 9
|
||||
};
|
||||
|
||||
inline bool apply (APPLY_ARG_DEF, unsigned int lookup_type) const
|
||||
|
||||
@@ -675,7 +675,7 @@ struct SubstLookupSubTable
|
||||
Context = 5,
|
||||
ChainContext = 6,
|
||||
Extension = 7,
|
||||
ReverseChainSingle = 8,
|
||||
ReverseChainSingle = 8
|
||||
};
|
||||
|
||||
inline bool apply (APPLY_ARG_DEF, unsigned int lookup_type) const
|
||||
|
||||
Reference in new issue
Block a user