[truetype] Fix compiler warning.

* src/truetype/ttgload.c (load_truetype_glyph): Add cast.
Harmony
Werner Lemberg 9 years ago
parent 248f5629d8
commit cf4224adb9
  1. 6
      ChangeLog
  2. 2
      src/truetype/ttgload.c

@ -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.

@ -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

Loading…
Cancel
Save