removing compiler warnings
This commit is contained in:
parent
8a9d58133b
commit
d76050abd7
|
@ -3,6 +3,8 @@
|
||||||
* include/freetype/internal/tttypes.h: adding comments to some of
|
* include/freetype/internal/tttypes.h: adding comments to some of
|
||||||
the TT_FaceRec fields.
|
the TT_FaceRec fields.
|
||||||
|
|
||||||
|
* src/sfnt/ttcmap0.c (TT_Build_CMaps): removed compiler warnings
|
||||||
|
|
||||||
2002-03-30 Werner Lemberg <wl@gnu.org>
|
2002-03-30 Werner Lemberg <wl@gnu.org>
|
||||||
|
|
||||||
* include/freetype/t1tables.h (t1_blend_max): Fix typo.
|
* include/freetype/t1tables.h (t1_blend_max): Fix typo.
|
||||||
|
|
|
@ -1548,10 +1548,10 @@
|
||||||
FT_LOCAL_DEF( FT_Error )
|
FT_LOCAL_DEF( FT_Error )
|
||||||
TT_Build_CMaps( TT_Face face )
|
TT_Build_CMaps( TT_Face face )
|
||||||
{
|
{
|
||||||
FT_UInt num_cmaps;
|
|
||||||
FT_Byte* table = face->cmap_table;
|
FT_Byte* table = face->cmap_table;
|
||||||
FT_Byte* limit = table + face->cmap_size;
|
FT_Byte* limit = table + face->cmap_size;
|
||||||
FT_Byte* p = table;
|
volatile FT_UInt num_cmaps;
|
||||||
|
volatile FT_Byte* p = table;
|
||||||
|
|
||||||
if ( p + 4 > limit )
|
if ( p + 4 > limit )
|
||||||
return FT_Err_Invalid_Table;
|
return FT_Err_Invalid_Table;
|
||||||
|
@ -1582,7 +1582,7 @@
|
||||||
{
|
{
|
||||||
FT_Byte* cmap = table + offset;
|
FT_Byte* cmap = table + offset;
|
||||||
FT_UInt format = TT_PEEK_USHORT(cmap);
|
FT_UInt format = TT_PEEK_USHORT(cmap);
|
||||||
const TT_CMap_Class* pclazz = tt_cmap_classes;
|
volatile const TT_CMap_Class* pclazz = tt_cmap_classes;
|
||||||
TT_CMap_Class clazz;
|
TT_CMap_Class clazz;
|
||||||
|
|
||||||
for ( ; *pclazz; pclazz++ )
|
for ( ; *pclazz; pclazz++ )
|
||||||
|
|
Loading…
Reference in New Issue