insert explict cast to FT_Fixed when bitshifting for FT_Fixed value.

note: long constant is too large for LP64 platforms.
This commit is contained in:
suzuki toshiya 2017-09-11 17:35:16 +09:00
parent 8f36537406
commit 12ef16a44b
1 changed files with 1 additions and 1 deletions

View File

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