insert explict cast to FT_Fixed when bitshifting for FT_Fixed value.

note: long constant is too large for LP64 platforms.
int-not32-changes-2017
suzuki toshiya 7 years ago
parent 8f36537406
commit 12ef16a44b
  1. 2
      src/sfnt/sfobjs.c

@ -837,7 +837,7 @@
{
FT_TRACE3(( "sfnt_open_font: synthesize TTC\n" ));
face->ttc_header.version = 1 << 16;
face->ttc_header.version = (FT_Fixed)1 << 16;
face->ttc_header.count = 1;
if ( FT_NEW( face->ttc_header.offsets ) )

Loading…
Cancel
Save