Fix a few other pedantic warnings

This commit is contained in:
Behdad Esfahbod 2009-08-18 16:41:59 -04:00
parent 864e2560b6
commit 8f034d5849
4 changed files with 5 additions and 5 deletions

View File

@ -246,7 +246,7 @@ struct LookupFlag : USHORT
IgnoreMarks = 0x0008u, IgnoreMarks = 0x0008u,
UseMarkFilteringSet = 0x0010u, UseMarkFilteringSet = 0x0010u,
Reserved = 0x00E0u, Reserved = 0x00E0u,
MarkAttachmentType = 0xFF00u, MarkAttachmentType = 0xFF00u
}; };
}; };
ASSERT_SIZE (LookupFlag, 2); ASSERT_SIZE (LookupFlag, 2);

View File

@ -305,7 +305,7 @@ struct GDEF
BaseGlyph = 1, BaseGlyph = 1,
LigatureGlyph = 2, LigatureGlyph = 2,
MarkGlyph = 3, MarkGlyph = 3,
ComponentGlyph = 4, ComponentGlyph = 4
}; };
STATIC_DEFINE_GET_FOR_DATA_CHECK_MAJOR_VERSION (GDEF, 1, 1); STATIC_DEFINE_GET_FOR_DATA_CHECK_MAJOR_VERSION (GDEF, 1, 1);

View File

@ -49,7 +49,7 @@ struct ValueFormat : USHORT
xAdvDevice = 0x0040, /* Includes horizontal Device table for advance */ xAdvDevice = 0x0040, /* Includes horizontal Device table for advance */
yAdvDevice = 0x0080, /* Includes vertical Device table for advance */ yAdvDevice = 0x0080, /* Includes vertical Device table for advance */
ignored = 0x0F00, /* Was used in TrueType Open for MM fonts */ 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 inline unsigned int get_len () const
@ -1299,7 +1299,7 @@ struct PosLookupSubTable
MarkMark = 6, MarkMark = 6,
Context = 7, Context = 7,
ChainContext = 8, ChainContext = 8,
Extension = 9, Extension = 9
}; };
inline bool apply (APPLY_ARG_DEF, unsigned int lookup_type) const inline bool apply (APPLY_ARG_DEF, unsigned int lookup_type) const

View File

@ -675,7 +675,7 @@ struct SubstLookupSubTable
Context = 5, Context = 5,
ChainContext = 6, ChainContext = 6,
Extension = 7, Extension = 7,
ReverseChainSingle = 8, ReverseChainSingle = 8
}; };
inline bool apply (APPLY_ARG_DEF, unsigned int lookup_type) const inline bool apply (APPLY_ARG_DEF, unsigned int lookup_type) const