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:25:40 +09:00
parent 776ff19d64
commit 58dd3a1e6e
1 changed files with 2 additions and 2 deletions

View File

@ -771,8 +771,8 @@
/* completely refer to the (already) hinted subglyphs. */
if ( is_composite )
{
loader->exec->metrics.x_scale = 1 << 16;
loader->exec->metrics.y_scale = 1 << 16;
loader->exec->metrics.x_scale = (FT_Fixed)1 << 16;
loader->exec->metrics.y_scale = (FT_Fixed)1 << 16;
FT_ARRAY_COPY( zone->orus, zone->cur, zone->n_points );
}