[truetype] Fix compiler warning.

* src/truetype/ttgload.c (load_truetype_glyph): Add cast.
This commit is contained in:
Werner Lemberg 2016-08-16 06:44:23 +02:00
parent 248f5629d8
commit cf4224adb9
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2016-08-16 Werner Lemberg <wl@gnu.org>
[truetype] Fix compiler warning.
* src/truetype/ttgload.c (load_truetype_glyph): Add cast.
2016-08-13 Werner Lemberg <wl@gnu.org>
[winfonts] Avoid zero bitmap width and height.

View File

@ -1441,7 +1441,7 @@
{
FT_TRACE1(( "load_truetype_glyph: maxComponentDepth set to %d\n",
recurse_count ));
face->max_profile.maxComponentDepth = recurse_count;
face->max_profile.maxComponentDepth = (FT_UShort)recurse_count;
}
#ifndef FT_CONFIG_OPTION_INCREMENTAL