forked from minhngoc25a/freetype2
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:
parent
8f36537406
commit
12ef16a44b
|
@ -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…
Reference in New Issue