[sfnt, type42] Fix clang compiler warnings.
* src/sfnt/sfobjs.c (sfnt_init_face): Initialize `offset'. * src/type42/t42parse.c (t42_parse_sfnts): Use proper cast.
This commit is contained in:
parent
f1c93439b9
commit
e93d326c8b
|
@ -1,3 +1,11 @@
|
|||
2015-10-22 Werner Lemberg <wl@gnu.org>
|
||||
|
||||
[sfnt, type42] Fix clang compiler warnings.
|
||||
|
||||
* src/sfnt/sfobjs.c (sfnt_init_face): Initialize `offset'.
|
||||
|
||||
* src/type42/t42parse.c (t42_parse_sfnts): Use proper cast.
|
||||
|
||||
2015-10-22 Dave Arnold <darnold@adobe.com>
|
||||
Werner Lemberg <wl@gnu.org>
|
||||
|
||||
|
|
|
@ -930,6 +930,7 @@
|
|||
FT_READ_USHORT( instance_size ) )
|
||||
{
|
||||
version = 0;
|
||||
offset = 0;
|
||||
num_axes = 0;
|
||||
axis_size = 0;
|
||||
num_instances = 0;
|
||||
|
|
|
@ -672,7 +672,7 @@
|
|||
/* The whole TTF is now loaded into `string_buf'. We are */
|
||||
/* checking its contents while copying it to `ttf_data'. */
|
||||
|
||||
size = limit - parser->root.cursor;
|
||||
size = (FT_ULong)( limit - parser->root.cursor );
|
||||
|
||||
for ( n = 0; n < string_size; n++ )
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue