mirror of https://github.com/freetype/freetype
* src/sfnt/ttcmap.c (tt_cmap*_get_info): Remove casting.
This commit is contained in:
parent
4f00846dde
commit
d2612e1c3f
|
@ -179,7 +179,7 @@
|
|||
|
||||
|
||||
cmap_info->format = 0;
|
||||
cmap_info->language = (FT_ULong)TT_PEEK_USHORT( p );
|
||||
cmap_info->language = TT_PEEK_USHORT( p );
|
||||
|
||||
return FT_Err_Ok;
|
||||
}
|
||||
|
@ -596,7 +596,7 @@
|
|||
|
||||
|
||||
cmap_info->format = 2;
|
||||
cmap_info->language = (FT_ULong)TT_PEEK_USHORT( p );
|
||||
cmap_info->language = TT_PEEK_USHORT( p );
|
||||
|
||||
return FT_Err_Ok;
|
||||
}
|
||||
|
@ -1539,7 +1539,7 @@
|
|||
|
||||
|
||||
cmap_info->format = 4;
|
||||
cmap_info->language = (FT_ULong)TT_PEEK_USHORT( p );
|
||||
cmap_info->language = TT_PEEK_USHORT( p );
|
||||
|
||||
return FT_Err_Ok;
|
||||
}
|
||||
|
@ -1712,7 +1712,7 @@
|
|||
|
||||
|
||||
cmap_info->format = 6;
|
||||
cmap_info->language = (FT_ULong)TT_PEEK_USHORT( p );
|
||||
cmap_info->language = TT_PEEK_USHORT( p );
|
||||
|
||||
return FT_Err_Ok;
|
||||
}
|
||||
|
@ -2009,7 +2009,7 @@
|
|||
|
||||
|
||||
cmap_info->format = 8;
|
||||
cmap_info->language = (FT_ULong)TT_PEEK_ULONG( p );
|
||||
cmap_info->language = TT_PEEK_ULONG( p );
|
||||
|
||||
return FT_Err_Ok;
|
||||
}
|
||||
|
@ -2184,7 +2184,7 @@
|
|||
|
||||
|
||||
cmap_info->format = 10;
|
||||
cmap_info->language = (FT_ULong)TT_PEEK_ULONG( p );
|
||||
cmap_info->language = TT_PEEK_ULONG( p );
|
||||
|
||||
return FT_Err_Ok;
|
||||
}
|
||||
|
@ -2528,7 +2528,7 @@
|
|||
|
||||
|
||||
cmap_info->format = 12;
|
||||
cmap_info->language = (FT_ULong)TT_PEEK_ULONG( p );
|
||||
cmap_info->language = TT_PEEK_ULONG( p );
|
||||
|
||||
return FT_Err_Ok;
|
||||
}
|
||||
|
@ -2844,7 +2844,7 @@
|
|||
|
||||
|
||||
cmap_info->format = 13;
|
||||
cmap_info->language = (FT_ULong)TT_PEEK_ULONG( p );
|
||||
cmap_info->language = TT_PEEK_ULONG( p );
|
||||
|
||||
return FT_Err_Ok;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue